I’ve been trying the whole day to make my installation of Mantisbt send any email. I am trying to configure it to use smtp.gmail.com or even smtp.mandrillapp.com. I tried everything I found on the net (google, mantisbt foruns, digital ocean questions) with no results.
I even tried different softwares: sendmail, PHPMailer and msmtp. When I use sendmail with gmail, I will get:
Connection timed out with alt4.gmail-smtp-in.l.google.com.
if I use smtp.mandrillapp.com, nothing will happen.
PHPMailer just says it can’t connect to the SMTP host and msmtp freezes asking for recipients emails.
Another thing, if I try to telnet smtp.gmail or smtp.mandrillapp on any port (25, 465, 587) it just keeps trying and then inform it cannot connect to the host. Tried with droplets from different regions. But, if I try with my windows it will work :(
I even created a clean droplet just to test if I did something wrong, I followed this guide to install the LAMP stack, this one to configure Mantisbt, I used the code provided by Mandrill to use PHPMailer. I checked if mod ssl was enabled on apache and also openssl on php…
I tried the same configurations on my windows machine and it works perfectly with a clean XAMP install, I just can’t make it work using the droplet, no errors are shown in the logs, no warnings, no info, nothing. it looks like everything is fine but it doesn’t send any email. I would be really happy if anyone could help me or even tell me that someone made it work somehow, somewhere, I am willing to create/destroy thousands of drolets if necessary just to make it work!!!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!