Beispiel #1
0
        async void Send_Email(object sender, EventArgs e)
        {
            string        subject    = "Test Email FROM PHONE";
            string        body       = "This email is to test the phone's ability to send out email notification";
            List <string> recipients = new List <string>();

            recipients.Add("*****@*****.**");
            recipients.Add("*****@*****.**");
            recipients.Add("*****@*****.**");
            recipients.Add("*****@*****.**");

            await eventModel.SendEmailViaSMTP(subject, body, recipients);
        }