cosullivan/SmtpServer

How SmtpServer sends email message to smtp.gmail.com

sokhibjaynarov opened this issue · 1 comments

this project able to receive mail message from gmail.com to come own mail address. But how we can send mail message from own address to Gmail

This library is only for receiving messages as an SMTP server. To send messages, you need an SmtpClient, like the one in MailKit. There's also a built-in System.Net.Mail.SmtpClient in .NET, but it is considered obsolete, and only preserved for backward compatibility. MailKit's SmtpClient is recommended instead.