News:

  • June 28, 2026, 01:37:55 PM

Login with username, password and session length

Author Topic: Timing out with EMail server  (Read 32992 times)

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Timing out with EMail server
« Reply #15 on: November 12, 2014, 04:33:04 PM »
Odd...I just pinged it and got the same IP for both URLs. Is it possible that it is dynamically changing? Google does that.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3612
  • Darth Ladder
Re: Timing out with EMail server
« Reply #16 on: November 13, 2014, 12:21:37 AM »
Pinged which?  Mine?  I never told you what it was unless you're going by my email address.  And the IPs were very definitely different the day I posted that.  In fact, when I was Wiresharking Thunderbird, I saw the same two servers addressed within seconds of each other, at the same respective IPs that I had got from pinging.

Or were you referring to GMail or some other server?
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Timing out with EMail server
« Reply #17 on: November 13, 2014, 01:25:21 AM »
Funny. Pop.myisp.com and SMTP.myisp.com are actual addresses.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3612
  • Darth Ladder
Re: Timing out with EMail server
« Reply #18 on: November 13, 2014, 11:19:42 AM »
That IS funny -- guess I should have posted pop.<myisp>.com and smtp.<myisp>.com   ;D

It's actually cox.net if you want to try it again.   As I posted, I also checked gmail.com, gmx.com and live.com, and in all three cases got differing IP's for POP vs. SMTP.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Timing out with EMail server
« Reply #19 on: November 13, 2014, 11:31:08 AM »
Don't know about the others, but GMail's SMTP will yield different IPs from ping to ping.

It would be painful to change the SMTP device configuration in the SysConfig...forward and backward versioning with both software and firmware is hard. I could easily work around it by adding the POP IP to DEVREAD/DEVWRITE though. The PLC could treat the addresses as the same until you wrote the POP IP, after which POP and SMTP would remain unlinked until the next power cycle/SysConfig update.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3612
  • Darth Ladder
Re: Timing out with EMail server
« Reply #20 on: November 13, 2014, 11:47:22 AM »
That sounds perfectly workable to me (especially since I'm probably DEVWRITing everything into the device anyway).

I suspect that a lot of those services don't use or at least don't require POP-before-SMTP, or else with the prevalence of differing addresses, you'd have heard about it before now.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3612
  • Darth Ladder
Re: Timing out with EMail server
« Reply #21 on: November 13, 2014, 10:52:38 PM »
Still fighting this one.  Found an email service with both POP and SMTP at the same IP.  (Shouldn't matter anyway, as the SMTP seems to allow logons).  STILL can't log on despite trying every possible combination of settings, even though email client works on the first shot.  Weird.  Do-More sends some encrypted login and after a few second wait, says that the authentication failed.  There's only so many options, this one really has me baffled.

The immediate issue:  In trying to troubleshoot this, I've set up a batch of DEVWRITEs so I can dynamically configure the device ("@EMail"), triggered by a physical input.  When I trigger the physical input, then check the device config via the Project Browser, the values I've DEVWRITten to aren't changed.  What could be the issue here?
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3612
  • Darth Ladder
Re: Timing out with EMail server
« Reply #22 on: November 13, 2014, 10:58:20 PM »
Interesting!  I added some DEVREADs so I could watch the variables in real time and they show my DEVWRITEs are working, but for some reason if I go look at the dialog, it still has the old information.  Is this a bug, or am I doing something wrong?
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3612
  • Darth Ladder
Re: Timing out with EMail server
« Reply #23 on: November 14, 2014, 01:42:15 AM »
So now (with auth set to 0), I get past the username, but then "RCPT to:" is my regular email address, so the smtp server gets mad and says I'm not "authenticated to relay".  I can't imagine what in the world is injecting that address.  Can anyone help me with that?  Is it coming from somewhere within Do-More?
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.