如何在 C++ 中使用 yahoo 或 gmail 发送电子邮件
I wanna send an email in my c++ program, it seems little complex. Is there way to use yahoo or gmail to use them to send my emails?
解决方案A basic internet search reveals the following:
- C++ SMTP example
- VMime a C++ Mail library
- libsmtp a C library to send mail via smtp
In short if you have a gmail or yahoo account you can use their SMTP server to send messages using either of the three links above to assist you in using SMTP.
相关文章