How do i do a simple php email sending?
As stated in subject.
How do i do it? I'm doing it on Eclipse Galileo using php.
Would really appreciate the help开发者_开发技巧.
Just like this:
mail('to@email.com', 'subject', 'message body');
See the php mail() documentation for more advanced usage.
You can use php mail function simply. But I would suggest you to use PHPMailer. PHPMailer library has lots of options. You can set attachment, message as text or html, bcc, cc, reply to very easily.
精彩评论