LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 01/19/2020 : 16:28:00
I am not receiving emails (orders) from the website. This is what I have in includes.php // PHP Mailer $GLOBALS['usemailer']='phpmailer'; $GLOBALS['smtphost']='mail.k.......com'; $GLOBALS['smtpusername']='orders1@k.......com'; $GLOBALS['smtppassword']='KKe****'; $GLOBALS['smtpport']=587; $GLOBALS['emailfromname']="KennyKreations";
I have also added these details in admin panel.
When I try to re-send an email from orders in admin panel, it appears that it is trying to send it from popupemail.php, but failing.
Thanks, Lyn
|
Vince
Administrator
42874 Posts |
Posted - 01/19/2020 : 23:34:38
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 01/20/2020 : 11:46:13
ParseError thrown syntax error, unexpected 'mail' (T_STRING) Thanks, Lyn
|
Vince
Administrator
42874 Posts |
Posted - 01/20/2020 : 12:44:22
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 01/20/2020 : 12:48:43
Vince, I got this error after I added the $GLOBALS['debugmode']=TRUE; I have now removed the $GLOBALS['debugmode']=TRUE; but the error is all that is showing on - kennykreations.com Thanks, Lyn
|
Vince
Administrator
42874 Posts |
Posted - 01/20/2020 : 14:22:18
|
Vince
Administrator
42874 Posts |
Posted - 01/21/2020 : 00:57:10
Hi Lyn Before changing anything I tried sending an email from Email Friend, and when I do I get a timeout. But not only that but the whole site seems to time out. I really think the best thing to do would be to ask the host to double check the mail settings you have in the admin main settings page. And if those are correct, to see if they have a test script they can pop on the server to send a test email. That way it will normally flush any problems out in the process but if they can get a working script on the server we can copy the email settings from that. Vince Click Here for Shopping Cart SoftwareClick Here to sign up for our newsletterClick Here for the latest updater
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 01/21/2020 : 03:08:35
Thanks, Vince. I'll let you know how I get on. Cheers, Lyn
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 01/21/2020 : 15:21:37
Vince, is there a reason I should be using PHP Mailer rather than the default PHP mail() function?
I set the function to the default PHP in admin panel. Email a friend, and resending an email from the backend indicate that they are successful; however I did not receive the emails in Outlook.
Thanks,Lyn
Edited by - LynK on 01/21/2020 19:39:32
|
Vince
Administrator
42874 Posts |
Posted - 01/22/2020 : 01:52:06
|
TastelessApple
Advanced Member
USA
499 Posts Pre-sales questions only (More Details...)
|
Posted - 02/28/2022 : 10:46:07
I updated a website recently. Now the phpMailer is not working and no emails are coming from the website. Nothing changed with the email accounts.
Any ideas what is wrong here? This is the error I get when using $GLOBALS['debugmode']=TRUE;
2022-02-28 18:44:46 SERVER -> CLIENT: 220 smtp12.relay.ord1d.emailsrvr.com ESMTP - VA Code Section 18.2-152.3:1 forbids use of this system for unsolicited bulk electronic mail (Spam) 2022-02-28 18:44:46 CLIENT -> SERVER: EHLO oooo.com 2022-02-28 18:44:46 SERVER -> CLIENT: 250-smtp12.relay.ord1d.emailsrvr.com250-PIPELINING250-SIZE 75000000250-ETRN250-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250 8BITMIME 2022-02-28 18:44:46 CLIENT -> SERVER: STARTTLS 2022-02-28 18:44:46 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS SMTP Error: Could not connect to SMTP host. 2022-02-28 18:44:46 CLIENT -> SERVER: QUIT 2022-02-28 18:44:46 SERVER -> CLIENT: 2022-02-28 18:44:46 SMTP ERROR: QUIT command failed: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Failed to send mail: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting2022-02-28 18:44:46 SERVER -> CLIENT: 220 smtp10.relay.ord1d.emailsrvr.com ESMTP - VA Code Section 18.2-152.3:1 forbids use of this system for unsolicited bulk electronic mail (Spam) 2022-02-28 18:44:46 CLIENT -> SERVER: EHLO oooo.com 2022-02-28 18:44:46 SERVER -> CLIENT: 250-smtp10.relay.ord1d.emailsrvr.com250-PIPELINING250-SIZE 75000000250-ETRN250-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250 8BITMIME 2022-02-28 18:44:46 CLIENT -> SERVER: STARTTLS 2022-02-28 18:44:46 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS SMTP Error: Could not connect to SMTP host. 2022-02-28 18:44:46 CLIENT -> SERVER: QUIT 2022-02-28 18:44:46 SERVER -> CLIENT: 2022-02-28 18:44:46 SMTP ERROR: QUIT command failed: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Failed to send mail: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

|
Vince
Administrator
42874 Posts |
Posted - 02/28/2022 : 11:04:21
|
TastelessApple
Advanced Member
USA
499 Posts Pre-sales questions only (More Details...)
|
Posted - 02/28/2022 : 12:37:12
I will do that, but it has been working for years at the same domain.
Why would an update change that? Not one email was sent after the update.
Brazos Graphics Building and Designing Custom Websites. http://www.brazosgraphics.com
|
TastelessApple
Advanced Member
USA
499 Posts Pre-sales questions only (More Details...)
|
Posted - 02/28/2022 : 14:44:47
After much searching, I found the problem --- PHP version.
With the update I updated the PHP version (a much needed update). If I adjust the version back it works, any ideas how I could get it to work with the newer PHP version? Do I need to update the PHP mailer?
|
Vince
Administrator
42874 Posts |
Posted - 03/01/2022 : 02:42:58
|
|
|