开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜