NETCore.MailKit icon indicating copy to clipboard operation
NETCore.MailKit copied to clipboard

How to send email via gmail?

Open ZedZipDev opened this issue 5 years ago • 1 comments

Is it possible to send email via gmail.com? What are settings? Thnx.

ZedZipDev avatar Dec 23 '19 17:12 ZedZipDev

Yes it is, but you don't enter you email address as username and your password, you will have to create a specific password for "a less secure application" and use that one. Also, business accounts (GSuite) could be prevented using this and accounts that have multi factor authentication enabled cannot enable access to less secure applications Just use smtp.google.com as your SMTP server with port 465 and SSL enabled.

zizzo81 avatar Sep 21 '23 13:09 zizzo81