Пример #1
0
        static void SendEmail()
        {
            EmailClient emailClient = new EmailClient();

            emailClient.ConstructEmail(new string[] { "*****@*****.**" }, "Oculus Rift Found", "GO ORDER IT NOW!");
            emailClient.Send();
        }
Пример #2
0
    // Using this for mainly test purposes to confirm the email sending works
    static void Main(string[] args)
    {
        EmailClient emailClient = new EmailClient();

        emailClient.ConstructEmail(new List <string>(new string[] { "*****@*****.**" }), "Hello from visual studio!",
                                   "testing this email refactor");

        emailClient.Send();
    }