Home Automated Living Forums

Home Automated Living Forums (https://www.automatedliving.com/forums/index.php)
-   Technical Assistance (https://www.automatedliving.com/forums/forumdisplay.php?f=11)
-   -   Internet Server Can't get email; send notifications (https://www.automatedliving.com/forums/showthread.php?t=5630)

tholliday 10-14-2016 02:46 PM

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.

BDD43 11-08-2016 11:27 PM

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.

TimShriver 11-09-2016 07:25 PM

Re: Internet Server Can't get email; send notifications
 
3 Attachment(s)
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


BDD43 11-10-2016 08:15 AM

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

TimShriver 11-10-2016 08:23 AM

Re: Internet Server Can't get email; send notifications
 
Quote:

Originally Posted by BDD43 (Post 31651)
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

TimShriver 11-10-2016 08:31 AM

Re: Internet Server Can't get email; send notifications
 
Quote:

Originally Posted by BDD43 (Post 31651)
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

BDD43 11-10-2016 12:35 PM

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 11-10-2016 01:04 PM

Re: Internet Server Can't get email; send notifications
 
Turned off Defender, turned off all Firewalls,

Restarted HAL....tried again, no luck....same error.

TimShriver 11-10-2016 01:11 PM

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

BDD43 11-10-2016 01:37 PM

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);
}


All times are GMT -6. The time now is 01:38 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© 1995-2017 Home Automated Living. All Rights Reserved.