send mail to Gmail account

后端 未结 5 1511
無奈伤痛
無奈伤痛 2020-12-17 03:03

I am sending mail from my Java app to Gmail Account. I had used the Java Mail API and it worked fine. But is it possible to send an e-mail without using the mail API in java

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-17 03:06

    By default, Google only allows encrypted connections. That's actually a good thing, in my opinion.

    But if you must send your mails in plaintext, you can enable it on your Account Page under settings.

提交回复
热议问题