Re: doubt in mail function
| From: | Paul Scott | Date: | Mon, 13 Feb 2006 10:21:13 +0000 |
| Subject: | Re: doubt in mail function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230302@lists.php.net to get a copy of this message | ||
On Mon, 2006-02-13 at 10:05 +0000, suresh kumar wrote:
> both from and to address are valid but mail
> is not receiving to sureshkumar.A@gi.com,
>
The PHP mail() function will use sendmail/postfix/etc (your hosts MTA),
if you plan on using a mail relay i.e. an SMTP server to send mail, you
will have to use a SMTP class/script. I know that the PHPMailer script
has a SMTP section, although I have never used it. Check out that
project (I think its http://phpmailer.sourceforge.net) for some help.
--Paul