Dear Listmates, I am using PEAR::MAIL and my code includes the below;
// Send Email Out $mailCfg = array( "host" => "127.0.0.1", "port" => "25", "auth" => false ); $mailRecipient = $hashValue["emailaddress"]; $mailHeader = array( "From" => "[EMAIL PROTECTED]", "To" => $mailRecipient, "Subject" => "Test Message" ); $mailBody = $myContent; $mailMgr =& Mail::factory("smtp", $mailCfg); $mailResult = $mailMgr->send($mailRecipient, $mailHeader, $mailBody); It is found that the variable $mailResult is always true but the email cannot be received whenever. On the other hand, in the same machine, I can use the native function mail() very well. It works well. So I doubt the problem of PEAR::MAIL. Should I consider anything? My server is using Qmail and sendmail command is a shortcut of Qmail executes (standard way). Please help. -stan _________________________________________________________ 必殺技、飲歌、小星星... 浪漫鈴聲 情心連繫 http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php