Create a System.Net.Mail.SmtpClient object, set the SMTP server info you are using. Then create a System.Smtl.MailMessage with the message data and send it:
Sign in - Google Accounts Sign in - Google Accounts Gmail - Email from Google Gmail is email that's intuitive, efficient, and useful. 15 GB of storage, less spam, and mobile access. How to use Gmail as your SMTP server - Lifehacker
Set up IMAP and change your SMTP settings to read Gmail messages in other mail clients, like Microsoft Outlook and Apple Mail. When you use IMAP, you can read your Gmail messages on multiple devices, and messages are synced in real time. You can also read Gmail messages using POP.
Sign in - Google Accounts Sign in - Google Accounts Gmail - Email from Google Gmail is email that's intuitive, efficient, and useful. 15 GB of storage, less spam, and mobile access.
What we’ll add in this case is the option to use an external SMTP Server and in this case a Gmail SMTP Mail server. In my home lab I will use an external gmail account to send email notifications from the apps running my home lab. Typically these would be email notifications about: Backup job stutus; Monitoring and Alerts triggers
Oct 24, 2018