开发者

php calling mail and failing

开发者 https://www.devze.com 2022-12-28 04:04 出处:网络
i am trying to set up a home page with an email form, where i can fill out email address and subject and comments and the php page will run

i am trying to set up a home page with an email form, where i can fill out email address and subject and comments and the php page will run

mail -s my@email.com $comments how can I do this via php to call the linux 开发者_如何学JAVAcommand?

thanks in advance


mail("youremail@domain.com","Subject","The message content");

http://us3.php.net/manual/en/function.mail.php


Why don't you just use PHP's own mail() function?

0

精彩评论

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