+ 3

I want to do an email sender in PHP (alternative to SMTP.JS)

I already have here an example that is the website that I created (http://emailsender4all.000webhostapp.com/?to=[send to email]&subject=[the subject]&body=[the message]) but it only can send 25 emails/day and I wanted unlimited to do marketing with it but when launched it is going to be free for all of you (in Sololearn). SMTP.JS stopped working with gmail due to spammers and high phishing websites, I already tried elasticemail, but I'm out of quota. Can you please help me in php? https://code.sololearn.com/wBOIJ7YJH5FX/?ref=app

16th Jul 2022, 10:37 PM
šŸ”„ Anonymous šŸ”„
šŸ”„ Anonymous šŸ”„ - avatar
4 Answers
+ 2
Please forget the basic mail function and use a library that uses a proper SMTP server like PHPMailer https://github.com/PHPMailer/PHPMailer#a-simple-example Note that settings varies depending on what server are you using gmail/outlook etc.
18th Jul 2022, 5:16 PM
Toni Isotalo
Toni Isotalo - avatar
+ 3
Sure
18th Jul 2022, 5:23 PM
Toni Isotalo
Toni Isotalo - avatar
+ 1
Toni Isotalo Thanks for helping me, when I have it done I will refer my API to you, for you to check if it is good or not ok?
18th Jul 2022, 5:22 PM
šŸ”„ Anonymous šŸ”„
šŸ”„ Anonymous šŸ”„ - avatar
18th Jul 2022, 5:23 PM
šŸ”„ Anonymous šŸ”„
šŸ”„ Anonymous šŸ”„ - avatar