+ 1
How can I send data from html page to my email?
6 Answers
+ 2
You could use something called PHPMailer.
This is the link, read the instructions :
https://github.com/PHPMailer/PHPMailer
Here is the example code :
https://stackoverflow.com/questions/48128618/how-to-use-phpmailer-without-composer
Please, don't spam with codes that are irrelevant to your question. Let's keep the Q&A section clean!
+ 2
Thanks ...
This is really useful link
+ 2
That example link is the real code, just put your credentials. Download PHPMailer and require it in your file,paste the code above in your file and that's it.
+ 1
No problem. It really works. I used it. đ
+ 1
But I need real code to send data to my email at this night ..
I am so hurry up
To that I can't reading and understanding all of this now.
Can you help me?
+ 1
Thereâs a full example in the documentation.
Find out the smtp server host and port for your email provider.
âUsernameâ and âsetFromâ properties has to be same.