Sending mail with attachment in C ++? (or How to create a MIME-encoded email that I can send to SMTP?)

Is it possible to do this without any third-party library.

I can send mail to gmail using simple socket functions. I can send files to one computer to another. But I need to send with attachment to any email account ...

can this be done using smtp?

(I searched here, but the answers I looked at are not in C ++ or not on Windows or are not fully open. Sorry if there is an answer (s) that was indicated earlier, but I could not find)

thank,

+3
source share
2 answers

SMTP, , SMTP?

+3

.

SMTP, (rfc822 , ), , .

, , MIME- , .

, :

MIME- , SMTP?

, , , .

+2

Source: https://habr.com/ru/post/1732429/


All Articles