查看: 702|回复: 2
|
PHP - Mail
[复制链接]
|
|
<?php
$to = "you@yahoo.com, me@msn.com, her@hotmail.com";
$subject = "Hi! We detected you";
$body = "Hi,\n\nWe detected you are using illegal copy of microsoft OS.\n We will be around soon.";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>" );
} else {
echo("<p>Message delivery failed...</p>" );
}
?>
以上的是没问题 成功骗了 很多朋友。
但我要 From (sender) show in my inbox when i receive
我谁知道如何吗?
$from <<<< 有这个 code 吗?
|
|
|
|
|
|
|
|
发表于 24-4-2006 06:43 PM
|
显示全部楼层
|
|
|
|
|
|
|

楼主 |
发表于 25-4-2006 07:36 AM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|