Depending on your needs I would put the email settings in an app.config file rather than in the exe but for testing this will do what it needs to. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; #region Send Authenticated Email – Using List using System.Net.Mail; #endregion Send…