Phpmailer: Error sending from Linux server

Asked

Viewed 178 times

0

I set up an HTML page to send email with Phpmailer, and on my Windows 10 computer it sent normally, but on the online Linux server returns the SMTP error: "SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"

I believe it’s a security or door variable, but I don’t know which one to change.

  • 1

    It would be nice to [Edit] and log Phpmailer errors to be able to determine the exact cause

  • Bacco how can I check the error log?

  • If you make a page containing only <? phpinfo(); must see several server settings when accessing, one of them is the error log directive, which points to the correct location. Depending on the accommodation, you have to ask for access. Note in the posts above (or in the documentation), some of them probably also say how to turn on phpmailer’s debug mode, this may help

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.