Can't send mails using php mail() on digital ocean. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can't send mails using php mail() on digital ocean.

Anybody who has worked on digital ocean and PHP.... Can you tell me how to send mails using the PHP mail(). It is working perfectly fine with other hosting like GoDaddy or hostgater but not working on digital ocean.

4th Dec 2018, 8:00 AM
KUMAR SHASHWAT
KUMAR SHASHWAT - avatar
2 Answers
+ 1
Maybe its missing smtp server. Did you select the wamp server when you created the droplet.
4th Dec 2018, 9:51 AM
Toni Isotalo
Toni Isotalo - avatar
0
No I use Apache PHP and MySQL
4th Dec 2018, 10:21 AM
KUMAR SHASHWAT
KUMAR SHASHWAT - avatar