Hello,

On 02/11/2003 07:49 PM, Matt Phillips wrote:
I created a script that sent the contents of the form via the mail().  when
I created it the server was running PHP 4.1.2.  The server I am on was
upgraded to ver 4.2.2.  When that happend the script stop working correctly.
It appeared to work, but the email never arrived.  So, I wrote a simple
script that looked that this:

<?

if(mail('[EMAIL PROTECTED]','Testing','testinging 123'));
  echo "sent"

?>

it would always show sent, but the message never arrived.

My orginal script used PEAR, but since PEAR uses the mail() I think that
this is problem.
Probably your server is not configured to send the message properly.

You may want to try this class that provides alternative means to send messages like using the sendmail program directly, qmail or SMTP instead of using the mail() function.

http://www.phpclasses.org/mimemessage

--

Regards,
Manuel Lemos


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to