PHPmailer function stopped working...
- 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: PHPmailer function stopped working...
PHPmailer function stopped working...
30-08-2016 11:30 AM - edited 30-08-2016 11:45 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi, I use the phpMailer function to send mail from my website (on Hostopia), and have been for a long time.
Randomly this morning, I discovered nothing was being sent - with this error coming back 'Could not instantiate mail function.'
I haven't made any changes to code in quite a while (and it was working fine on Friday) - any ideas why suddenly not working?
I use the basic phpMailer - not with smtp, and has worked fine up till now ...
Thanks
Andy
** quick update
Have also tried my other two websites, which run under wordpress (so use other methods of mail processing) also failing to send messages ..
Re: PHPmailer function stopped working...
30-08-2016 12:18 PM - edited 30-08-2016 12:31 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'm getting the same error from PHPMailer version 5.2.16 using its PHP Mail() interface
Message could not be sent. Mailer Error: Could not instantiate mail function.
If I use PHPMailer with SMTP the message is apparently sent to localhost, but potentially isn't accepted by the mail server; it doesn't get delivered to Plusnet or gmail.
SERVER -> CLIENT: 250 2.0.0 u7UApc4I012916 Message accepted for delivery CLIENT -> SERVER: QUIT SERVER -> CLIENT: 221 2.0.0 web218c50.megawebservers.eu closing connection Connection: closed Message sent: date Tue, 30 Aug 2016 11:51:38 BST
Edit: Trying to use the sendmail interface also gives an error
Message could not be sent. Mailer Error: Could not execute: /usr/sbin/sendmail -t -i
Re: PHPmailer function stopped working...
30-08-2016 4:35 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Raised with Hostopia (ref: 3933885). Thanks for bringing it to our attention.
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: PHPmailer function stopped working...
31-08-2016 8:39 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks Bob, seems to be back up and running now.
Re: PHPmailer function stopped working...
31-08-2016 12:26 PM - edited 31-08-2016 12:34 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks, Hostopia confirmed late yesterday that they'd fixed the problem. Everybody happy there are no residual issues?
Edit: Hmmm, I seem to be getting two copies of each email when I'm testing?
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: PHPmailer function stopped working...
31-08-2016 12:36 PM - edited 31-08-2016 12:39 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yes, sending using PHP mail() directly and via PHPMailer works OK now. Sending with PHPMailer also works using sendmail and with SMTP to localhost.
This applies for messages sent to both Plusnet and gmail addresses.
Edit: And I get only the expected copies.
- 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: PHPmailer function stopped working...