Connecting to smtp.gmail.com via command line

后端 未结 10 2385
粉色の甜心
粉色の甜心 2020-12-07 16:42

I am in the process of writing an application that sends mail via an valid GMail user ID and password.

I just wanted to simulate the SMTP connection on my Windows XP

10条回答
  •  清歌不尽
    2020-12-07 17:15

    gmail uses an encrypted connection. So, even after you establish a connection, you wont be able to send any email. The encryption is a little complex to manage. Try using openssl instead.

    The thread below should help-

    How to send email using simple SMTP commands via Gmail?

提交回复
热议问题