+ 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
4 RĂ©ponses
+ 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.
+ 3
Sure
+ 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?
+ 1
Toni Isotalo thx