Re: Function mail()

From: Date: Fri, 25 Apr 2003 03:49:48 +0000
Subject: Re: Function mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145219@lists.php.net to get a copy of this message
Hello, On 04/23/2003 10:27 AM, Juan rafael sória wrote:
the problem with the function mail() is that some servers receive the emails normaly, while other do not. I always test the flag returned by the function, but it is always ok (true) and despite de fact that some mailboxes did not received the emails, it does not display any error message (even in the "From: ..." address).
The problem is that usually the messages are not sent to recipients immediately. They usually get queue and if they are not delivered you receive a bounce message later in the Return-Path address. To set the return-path address it depends on the method you use to send the messages. You may want to try this class that supports many message delivery methods abstracts the Return-Path address as if it were a real message header: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos

« previous php.general (#145219) next »