By lucascalion
Hi there,
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!
Mandrillapp is the way to go, so you got that right, but I think your droplet ip maybe block by DO on mail ports, try creating a droplet on another geographical zone, and with the clean brand new droplet try telnet
it should show this:
Trying 54.237.217.91...
Connected to smtp.mandrillapp.com.
Escape character is '^]'.
220 smtp.mandrillapp.com ESMTP
If you can connect then open a support ticket to DO asking to open those ports (587 if you keep with mandrill).
Thank you guys, I have already tried different locations with the same result. I am going to open a ticket right now!
thx
New accounts have a block on the ports 587 and 25 to prevent spam. If you wish to confirm just try a telnet (e.g. telnet aspmx.l.google.com 25). You must open a ticket to request the unblock.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.