send mail to Gmail account

后端 未结 5 1510
無奈伤痛
無奈伤痛 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:23

    GMail doesn't allow non-secure mail transfer. You need to make an SSL/TLS connection in your implementation.

提交回复
热议问题