Technical Assistance Questions posted to this conference may be answered by other users and/or HAL Technical Support. You can also contact HAL Technical Support directly. |
|
Thread Tools | Display Modes |
|
11-10-2016, 01:37 PM | #1 |
Advanced Member III
Join Date: Jul 2009
Posts: 308
|
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 = "smtp.gmail.com"; 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?"; client.Send(msg); } |
Bookmarks |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|
|