View Single Post
Old 11-10-2016, 01:37 PM   #20
Advanced Member III
Join Date: Jul 2009
Posts: 308
Default Re: Internet Server Can't get email; send notifications

Will do.
On another note. I created the below real quick in a windows form (C#) to test..and it worked.

private void button1_Click(object sender, EventArgs e)
SmtpClient client = new SmtpClient();
client.Host = "";
client.Port = 587;
client.EnableSsl = true;
client.DeliveryMethod = SmtpDeliveryMethod.Network;
client.UseDefaultCredentials = false;
client.Credentials = new NetworkCredential("my gmail account", " my gmail password");

MailMessage msg = new MailMessage();

msg.From = new MailAddress(" my gmail account");
msg.To.Add("my hotmail, my cell phone");
msg.Subject = "Hello You";
msg.Body = "What?";

BDD43 is offline   Reply With Quote