Re: mail function always return TRUE

From: Date: Thu, 17 Aug 2000 20:50:17 +0000
Subject: Re: mail function always return TRUE
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12358@lists.php.net to get a copy of this message
There are 'valid email' snippets on a few sites (manuel's comes to mind but I don't remember the address - phpclasses.upperdesign.com?) These snippets will attempt to deliver the mail by directly connecting to the destination mail server. If there's a problem, the function will report some type of code back to you. Bear in mind that if you've got a lot of mails going out this way, it'll be slower than passing stuff to a sendmail queue for later processing. Also, some hosts will accept the mail anyway (if the 'address' is a 'catchall', for example), and may still later send a reply that the it can't deliver the mail. In short, you can't 100% reliably determine programmatically if the email account 'exists' as a functioning, usable email address. Diogo wrote: > I'm sending emails with mail function and it always return true , > how can I tell if the destination address is correct ????? > How can I tell if the destination account does NOT exist?? > > Thanks. > Diogo Saad > diogo@ibnetwork.com.br > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- ========================== Michael Kimsal http://www.tapinternet.com 734-480-9961

« previous php.general (#12358) next »