How does php mail work
Tom: People have fixated on the wording rather than the question. I've modified the question to help rectify the problem. I don't understand what is "ambiguous, vague, incomplete, overly broad, or rhetorical" about it. I tried asking in the PHP chatroom but no moderators were in there or none of them replied. Is there a better place to learn about the site?
It completely depends on your MTA. You can detect how it works as below. It is provided for compatibility with Sendmail. Apostle Apostle 2 2 gold badges 7 7 silver badges 23 23 bronze badges. Add a comment. Andrew Yasinsky Andrew Yasinsky 2 2 silver badges 4 4 bronze badges.
David David 3, 2 2 gold badges 20 20 silver badges 34 34 bronze badges. This isn't really answering the question, which was how does it work. I use SES for other things. This was simply wanting to know how it works on a clean install with no configuration, not why it gets marked as spam or what I should use instead.
Thanks for the answer, though. Sign up or log in Sign up using Google. The other side of the PHP mail function is that the email is sent from your web server, which may cause issues with deliverability due to security concerns such as suspicion of spam and blacklisting.
The best way to overcome this problem is sending messages via an SMTP server, however, this functionality is limited as well. It is suitable for simple, mostly text-based notifications in your local environment.
For more details and additional parameters, refer to the PHP documentation. The body of the message can be written in HTML. This is a fair question. If you need to send a large volume of messages in a loop, try an external mailing package. If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:. Report Error. Your message has been sent to W3Schools.
W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. A final boundary denoting the email's final section must also end with two hyphens. Previous Page. Next Page. Previous Page Print Page. Save Close. Dashboard Logout. Specifies an additional parameter to the send mail program.
0コメント