我建了一个测试页测试
<?php$to = '[email protected]';$subject = 'the subject';$message = 'hello';$headers = 'From: [email protected]' . "\r\n" .'Reply-To: [email protected]' . "\r\n" .'X-Mailer: PHP/' . phpversion();ini_set ("sendmail_from","[email protected]");mail($to, $subject, $message, $headers);?>测试通过
说明我配置无问题
然后我把一个开源的产品架上了
使它的发送 
邮箱就是没有收到
但是它程序里提示成功了
不知道有没有什么问题
function webim_mail($toaddr, $reply_to, $subject, $body) {
global $webim_encoding, $webim_mailbox, $mail_encoding; $headers = "From: $webim_mailbox\r\n"
   ."Reply-To: ".myiconv($webim_encoding, $mail_encoding, $reply_to)."\r\n"
   ."Content-Type: text/plain; charset=$mail_encoding\r\n"
   .'X-Mailer: PHP/'.phpversion(); $real_subject = "=?".$mail_encoding."?B?".base64_encode(myiconv($webim_encoding,$mail_encoding,$subject))."?="; $body = preg_replace("/\n/","\r\n", $body);

@mail($toaddr, $real_subject, wordwrap(myiconv($webim_encoding, $mail_encoding, $body),70), $headers);
}
这个是它程序里滴 :)大哥大姐帮看看麻烦啦!~~