佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 892|回复: 3

PHP Mail() 问题

[复制链接]
发表于 25-9-2008 08:59 PM | 显示全部楼层 |阅读模式
为什么php mail 寄出的mail 都会在junk 或bulk mail 里呢?有方法解决吗?
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 27-9-2008 12:35 PM | 显示全部楼层
没有人懂吗?
回复

使用道具 举报

发表于 29-9-2008 02:48 PM | 显示全部楼层
不一定,我的就不会...你怎么 snnd?

ini_set('SMTP', 'ur.mailserver.com');
// To send HTML mail, the Content-type header must be set
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'To: '.$mb_email . "\r\n";
$headers .= 'From: Your Name <urname@yahoo.com>' . "\r\n";
//$headers .= 'Bcc: '.$mb_email . "\r\n";
mail($mb_email,$title,$content,$headers)

这个应该可以阿
回复

使用道具 举报

发表于 5-10-2008 10:38 PM | 显示全部楼层
我test过。。。
yahoo, gmail都没有什么问题。。。

hotmail可能会。。。
要看你的header如何写。。

就如楼上所写的一样
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 23-12-2025 04:33 AM , Processed in 0.121722 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表