I stand corrected. thanks
-Original Message-
From: Chris Hobbs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 12:03 PM
To: PHP-DB List
Subject: Re: [PHP-DB] Mail() Not working
Ummm, you both might want to take a look at:
http://www.php.net/manual/en/function.mail.php
Ummm, you both might want to take a look at:
http://www.php.net/manual/en/function.mail.php
as well as:
http://www.php.net/manual/en/ref.mail.php
Rick, you can't specify the mail program in any of the arguments for the
mail() command.
Kevin, I bet your problem is in your php.ini script. Make s
--
From: Kevin J. Maynard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 10:33 AM
To: PHP List; Rick Emery
Subject: Re: [PHP-DB] Mail() Not working
On Wednesday, December 12, 2001, at 06:12 AM, Rick Emery wrote:
> The mail() function works fine. $email must be set to you e
On Wednesday, December 12, 2001, at 06:12 AM, Rick Emery wrote:
> The mail() function works fine. $email must be set to you email
> program,
> NOT an email server.
>
> Should be something like "/bin/sendmail". If you don't have access to
> this
> function, then you cannot send mail.
So wher
On Wednesday, December 12, 2001, at 01:14 AM, Cristian Pozzer wrote:
>> my php.ini file has the following line in it:
>> SMTP = mail.attbi.com
>>
>> my php script is as follows:
>> > $email = "to_email";
>> $from = "from_email";
>> $mesg = "This is a test email. \r\n";
>>
>> if (mail($email, "Te
The mail() function works fine. $email must be set to you email program,
NOT an email server.
Should be something like "/bin/sendmail". If you don't have access to this
function, then you cannot send mail.
-Original Message-
From: Kevin J. Maynard [mailto:[EMAIL PROTECTED]]
Sent: Tues
not that has anything to do with databases directly...
in your line;
mail($email, "Test", $mesg, $from)
the "$from" var is not actually supposed to be an email address (RTFM) - it
is additional headers, so if you are trying to set the from address, use
$from = "From: ";
that might help