Message Board
Home Automated Living Forums > General HAL Topics > Technical Assistance » Internet Server Can't get email; send notifications

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.

Reply
 
Thread Tools Display Modes
Old 10-14-2016, 03:46 PM   #11
tholliday
Junior Member
 
Join Date: Oct 2003
Posts: 16
Default Re: Internet Server Can't get email; send notifications

I could not get it to work using TLS. Tim, I don't see any quarantined dlls in the McAfee log files and they go back to February. I now have 6.1.33 installed and the email still hangs.
tholliday is offline   Reply With Quote
Old 11-09-2016, 12:27 AM   #12
BDD43
Advanced Member III
 
Join Date: Jul 2009
Posts: 308
Default Re: Internet Server Can't get email; send notifications

same here, but I cannot get notifications or anything....which is much needed for my sensors.
BDD43 is offline   Reply With Quote
Old 11-09-2016, 08:25 PM   #13
TimShriver
Administrator
 
TimShriver's Avatar
 
Join Date: Jul 2003
Location: Laurel, MD
Posts: 1,588
Default Re: Internet Server Can't get email; send notifications

Hi,

I tested the email tonight using a Gmail account instead of my automatedliving email. I have attached screen shots of setting up the email account info in System Settings.

I then create a rule to fire off an email to me when I clicked on the Ear to begin listening as the trigger event and the action was to send and email to my automatedliving account from the gmail account.

also pictured is the incoming email. Below is the Debug Rule Trace Log:

HAL System Server V6.1.35 @ 21:13:57 On 11/9/2016
RulesEval TE Is True, Now Checking SC's in Rule: Listening ON MIC
************************************************** ******************************
HAL System Server V6.1.35 @ 21:13:57 On 11/9/2016
RulesEval Checked ALL Conditions, Rule is TRUE! Do Actions.
************************************************** ******************************
HAL System Server V6.1.35 @ 21:13:57 On 11/9/2016
RulesEval Execute Action: SIMUM1UM2|||EMAIL||TShriver@automatedliving.com||H AL Notification|This is a test email...|0|0|Send E-mail to E-mail 1|293

I'm not sure what the issue could be if you have followed the Gmail account setting guidelines posted earlier in this thread...

Tim

Attached Images
File Type: png System Settings Internet Email.png (40.6 KB, 2 views)
File Type: png Automation Setup Rules.png (69.3 KB, 2 views)
File Type: png Email from HAL.png (13.6 KB, 2 views)
__________________
Tim Shriver
Home Automated Living
TimShriver is offline   Reply With Quote
Old 11-10-2016, 09:15 AM   #14
BDD43
Advanced Member III
 
Join Date: Jul 2009
Posts: 308
Default Re: Internet Server Can't get email; send notifications

I see this in the log file. I tested through my Insteon IP camera, using the same gmail account and settings and it works fine.

HAL Internet Server V6.1.35 @ 09:13:36 On 11/10/2016
CSMTP.SendMail: Encr: 0, Port: 465, Host: smtp.gmail.com
ERROR: Dart.SecureTcp.1, 10060, The connection has been dropped because of a network failure or because the peer system failed to respond. Also caused when Connect, Send, Receive, Fill or Close methods are used with a Timeout parameter and the operation fails to complete within the specified number of milliseconds., 206
BDD43 is offline   Reply With Quote
Old 11-10-2016, 09:23 AM   #15
TimShriver
Administrator
 
TimShriver's Avatar
 
Join Date: Jul 2003
Location: Laurel, MD
Posts: 1,588
Default Re: Internet Server Can't get email; send notifications

Quote:
Originally Posted by BDD43 View Post
I see this in the log file. I tested through my Insteon IP camera, using the same gmail account and settings and it works fine.

HAL Internet Server V6.1.35 @ 09:13:36 On 11/10/2016
CSMTP.SendMail: Encr: 0, Port: 465, Host: smtp.gmail.com
ERROR: Dart.SecureTcp.1, 10060, The connection has been dropped because of a network failure or because the peer system failed to respond. Also caused when Connect, Send, Receive, Fill or Close methods are used with a Timeout parameter and the operation fails to complete within the specified number of milliseconds., 206
This is related to security on your HAL computer which is preventing the communication and is therefore timing out. Your Camera is not running Windows OS LOL...

Tim
__________________
Tim Shriver
Home Automated Living
TimShriver is offline   Reply With Quote
Old 11-10-2016, 09:31 AM   #16
TimShriver
Administrator
 
TimShriver's Avatar
 
Join Date: Jul 2003
Location: Laurel, MD
Posts: 1,588
Default Re: Internet Server Can't get email; send notifications

Quote:
Originally Posted by BDD43 View Post
The connection has been dropped because of a network failure or because the peer system failed to respond.
What are you using for your firewall?

Tim
__________________
Tim Shriver
Home Automated Living
TimShriver is offline   Reply With Quote
Old 11-10-2016, 01:35 PM   #17
BDD43
Advanced Member III
 
Join Date: Jul 2009
Posts: 308
Default Re: Internet Server Can't get email; send notifications

Just the windows defender.

Also, my IP camera is on my network, I ran it from my computer through HTTP IP address just to show it is getting out of my network to gmail.

I'll try to turn off my firewall completely to see if that is the issue.
BDD43 is offline   Reply With Quote
Old 11-10-2016, 02:04 PM   #18
BDD43
Advanced Member III
 
Join Date: Jul 2009
Posts: 308
Default Re: Internet Server Can't get email; send notifications

Turned off Defender, turned off all Firewalls,

Restarted HAL....tried again, no luck....same error.
BDD43 is offline   Reply With Quote
Old 11-10-2016, 02:11 PM   #19
TimShriver
Administrator
 
TimShriver's Avatar
 
Join Date: Jul 2003
Location: Laurel, MD
Posts: 1,588
Default Re: Internet Server Can't get email; send notifications

If you're up for it... when you have a moment, give me a call in the office 855-442-5435 Ext 701. I want to enter your gmail info into a system here and see if it goes out. If it does we can issolate it to something on your computer.

Tim
__________________
Tim Shriver
Home Automated Living
TimShriver is offline   Reply With Quote
Old 11-10-2016, 02:37 PM   #20
BDD43
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 = "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);
}
BDD43 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.