How to send emails using yahoo or gmail in c++

后端 未结 3 2107
生来不讨喜
生来不讨喜 2021-01-24 04:02

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?

3条回答
  •  故里飘歌
    2021-01-24 04:24

    A basic internet search reveals the following:

    1. C++ SMTP example
    2. VMime a C++ Mail library
    3. 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.

提交回复
热议问题