Delays to email coming from PHP on Hostopia
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- :
- Re: Delays to email coming from PHP on Hostopia
Re: Delays to email coming from PHP on Hostopia
12-03-2015 3:49 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
shell1c50:/$ telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 shell1c50.megawebservers.eu ESMTP Sendmail 8.12.7/8.12.6/SuSE Linux 0.6; Thu, 12 Mar 2015 10:46:42 -0500
mail from:<>
503 5.0.0 Polite people say HELO first
I'd have thought PHPList would cater for this though, and I'm sure it's worked before. It doesn't help that I don't know when it broke
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Delays to email coming from PHP on Hostopia
12-03-2015 4:09 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'll investigate further but at the moment it looks like the problem is in my court.
David
Re: Delays to email coming from PHP on Hostopia
12-03-2015 4:53 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'm still a tad miffed by the PHPList thing, so if you get the chance can you install it and see if you encounter the same issues? I know it should work because Penny was using it wasn't she?
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Delays to email coming from PHP on Hostopia
12-03-2015 5:27 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Bob I'm still a tad miffed by the PHPList thing.
Figured it out.
The following in class.phplistmailer.php gave it away:
$this->Helo = getConfig("website");
'website' was defined as domain.tld/phplist which Hostopia's servers won't have liked with it not being a FQDN.
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Delays to email coming from PHP on Hostopia
12-03-2015 7:01 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
$this->Helo = getConfig("website"); set in class.phplistmailer.php
but I probably set website appropriately during set-up.
I did change a fair number of configuration and set-up variables to make phplist work, and I believe Penny made similar ones.
David
Re: Delays to email coming from PHP on Hostopia
13-03-2015 4:23 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: spraxyt Still using SMTP but I've now tried a different testing script that uses DIY HTML code rather than converting plain text. This one works. The other one still doesn't but claims it has.
Turning phpmailer debug on
// use debug
$mail->SMTPDebug = "3"; // 0=none, 1=commands, 2=1+data, 3=2+connection status, 4=low level data output
$mail->Debugoutput = 'html'; // 'echo'=as is, 'html'=escaped and breaks, 'error_log'= log only
to show the dialogue with the MTA shows the failing message is accepted for delivery by ESMTP on the web server but is never seen again. I assume this means the Hostopia mail relay refuses to accept it from the web server. This should cause a bounce but locally there is nowhere to bounce to.
Some experimentation shows the Hostopia mail relays now appear to require the Content-Type: text/html message part to be enclosed in (at least) HTML <body>...</body> tags. With these the message is received.
Checking back to the last phpList campaign message I sent (which used phpList 3.0.6 and phpmailer 5.2.5) shows that was formatted as a complete HTML document so phpList should continue to work.
David
Re: Delays to email coming from PHP on Hostopia
15-03-2015 7:17 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: spraxyt Some experimentation shows the Hostopia mail relays now appear to require the Content-Type: text/html message part to be enclosed in (at least) HTML <body>...</body> tags. With these the message is received.
This problem with SMTP sending seems now to be fixed.
As of Fri, 13 Mar 2015 14:39:52 GMT only messages satisfying the HTML part format above were accepted:
Received: from web3c50.megawebservers.eu ([10.130.1.52])
by mailrelay2c50.megamailservers.eu (8.13.6/8.13.1) with ESMTP id t2DEdqCG028442;
Fri, 13 Mar 2015 14:39:52 GMT
<snipped>
--b1_85b373c33856153c0b65b5281368ac89
Content-Type: text/plain; charset=us-ascii
This is the body in plain text for non-HTML mail clients
--b1_85b373c33856153c0b65b5281368ac89
Content-Type: text/html; charset=us-ascii
<body>This is the HTML message body including <b>some bold</b> text</body>
--b1_85b373c33856153c0b65b5281368ac89--
At Sun, 15 Mar 2015 17:29:00 GMT it worked (as it used to) without the <body>...</body> tags
Received: from web26c50.megawebservers.eu ([10.130.1.78])
by mailrelay2c50.megamailservers.eu (8.13.6/8.13.1) with ESMTP id t2FHT0vw004097;
Sun, 15 Mar 2015 17:29:00 GMT
<snipped>
--b1_1a2be2b4b57e07bd6ea470b7dda780dd
Content-Type: text/plain; charset=us-ascii
This is the body in plain text for non-HTML mail clients
--b1_1a2be2b4b57e07bd6ea470b7dda780dd
Content-Type: text/html; charset=us-ascii
This is the HTML message body including <b>some bold</b> text
--b1_1a2be2b4b57e07bd6ea470b7dda780dd--
Re: Delays to email coming from PHP on Hostopia
31-03-2015 9:26 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Delays to email coming from PHP on Hostopia
31-03-2015 10:36 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Edit: ref 3566640.
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Delays to email coming from PHP on Hostopia
31-03-2015 2:11 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
As before localhost on the web server accepts the messages but the mail relays (presumably) refuse to accept them from the web server.
Re: Delays to email coming from PHP on Hostopia
31-03-2015 6:51 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Delays to email coming from PHP on Hostopia
01-04-2015 7:31 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Delays to email coming from PHP on Hostopia
01-04-2015 11:03 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Delays to email coming from PHP on Hostopia
09-04-2015 10:13 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Delays to email coming from PHP on Hostopia
09-04-2015 10:51 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
(plus, last time they weren't queued - just disappeared)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- :
- Re: Delays to email coming from PHP on Hostopia