Hello guys,
I ask for help cause I can’t send mail with PHP in my virtual domains. I have installed iredmail on my droplet and hosted a virtual domain for the mail server. I can send a mail with success from my gmail account to the mail account created in iredadmin, no problem. The problem is to send with PHP, the code said I can’t connect to SMTP. I have tried a lot of mx configurations (hahaha) I don’t know how to configure MX (without mx configuration I already can receive mail) but I don’t know how to configure the smtp to php “mail()” or phpmailer use.
Error code: http://postimg.org/image/8mzkdi0az/ DNS settings: http://postimg.org/image/y71ujxlor/ PHPMailer code: http://postimg.org/image/ltp0d0w0b/
Cheers! I love you!
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!
Have you validated your account and requested SMTP to DigitalOcean? Email features are blocked by default to avoid SPAM.
You can open a support ticket in your account and do so.
Hi @jacksonbenete, did you ever find a solution to this? I’m having the same problem!
Thanks!
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.