does any one had success with gmail smtp servers ? smtp.gmail.com to send emails from c++ code ? i know its using secure layer but i have no idea how to implement such one .
相关问题
- Sorting 3 numbers without branching [closed]
- How to compile C++ code in GDB?
- Why does const allow implicit conversion of refere
- thread_local variables initialization
- What uses more memory in c++? An 2 ints or 2 funct
相关文章
- c#发送邮件,附件损坏
- ssl配置问题
- Class layout in C++: Why are members sometimes ord
- Intermittent “sslv3 alert handshake failure” under
- How to mock methods return object with deleted cop
- Which is the best way to multiply a large and spar
- C++ default constructor does not initialize pointe
- Selecting only the first few characters in a strin
This is what i used, It was for linux though, It should Technically work on windows
The Tutorials are there and straigt forwards
Here is a copy and paste from the site showing Ports and SMTP Server. Credit goes to john wiggins
To Authenticate
Currently only LOGIN and PLAIN authentication are supported, LOGIN by default, to set to PLAIN call the authtype function
Your ISP could be blocking the secure SMTP port.
You could try to the same in Thunderbird and verify that the port is open first.
Sending to GMail over SSL connection on port 465 does work, and in a straightforward way. You establish connection, you do SSL initialization/handshake, then send
EHLO
command and it is the usual way from there. You also need login or plain authentication with the server to make it accept your messages.