RE: [PHP-DB] Mail() Not working

2001-12-12 Thread Rick Emery
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

Re: [PHP-DB] Mail() Not working

2001-12-12 Thread Chris Hobbs
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

RE: [PHP-DB] Mail() Not working

2001-12-12 Thread Rick Emery
-- 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

Re: [PHP-DB] Mail() Not working

2001-12-12 Thread Kevin J . Maynard
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

Re: [PHP-DB] Mail() Not working

2001-12-12 Thread Kevin J . Maynard
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

RE: [PHP-DB] Mail() Not working

2001-12-12 Thread Rick Emery
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

RE: [PHP-DB] Mail() Not working

2001-12-11 Thread Beau Lebens
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