G
Asked
Smtp function does not work with any server (localhost or remote).
For remote server return "connection failed", with localhost say "email send succsesfuly" but no e-mail were send.
I have no restriction to connect with remote server on port SSL or TSL.
Mailtrap.io - I can not connect.
We have an OpenCart app in our server that work with SMTP.
Please provide a solution.
Thank you!
For remote server return "connection failed", with localhost say "email send succsesfuly" but no e-mail were send.
I have no restriction to connect with remote server on port SSL or TSL.
Mailtrap.io - I can not connect.
We have an OpenCart app in our server that work with SMTP.
Please provide a solution.
Thank you!
- MSAnsweredHello,
SMTP is tested with [mailtrap.io](https://mailtrap.io/) and [Helo](https://usehelo.com/).
If app gives success message that mean the command was executed and if mail not delivered that might be something with smtp/mail server.
**I suggest to do testing with mailtrap.io to know if it is working** before trying any other solutions. There are smtp service provider like aws, mailgun, sendgrid, socketlabs and many more.
Thank you - GAnsweredI allready tested with Mailtrap.io and return "connection failed"
Can you please read again my question?
It is the 3rd time I ask for a solution. I do all tests, but SMTP function do not work. - MSAnsweredHello,
Let me know your install link and admin account details so that I can check.
Thank you - GAnsweredhttps://geniales.eu.org/ventas/
default credentials you provide - MSAnsweredHello,
This something to do with server. I guess it your server who is not allowed connection to SMTP. Please check with your server admin and ask them why you can't use SMTP. You can provide them this link [https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting#smtp-error-could-not-connect-to-smtp-host](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting#smtp-error-could-not-connect-to-smtp-host) for reference.
I have checked and getting `SMTP connect() failed` error on your install. The demo is working fine. Your download and demo are exact same files. If you have installed it locally, where SIM giving success message, you can try mailtrap.io
I can't be of any help with server as I have no knowledge of them but if any issue due to code I will be happy to help.
Thank you - Login to Reply