Re: Help with template file and email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13 July 2010 14:56, Joey Hendricks <j.hendricksjr@xxxxxxxxxxx> wrote:
> Hello,
>  I have been working on a birtday invite program. The form takes 10 names and 10 email addresses. I think the problem is the $to variable in my function. I get this warning-Warning: mail() [function.mail]: SMTP server response: 550 5.5.0 <f> domain name required in.....
> Could someone help me with this my email is j.hendricksjr@xxxxxxxxxxx Thank you so very much!

<?php
mail(' j.hendricksjr@xxxxxxxxxxx', 'Test email', 'This is a test email');
?>

and I get the following entry in my PHP's mail.log ...

mail() on [-:2]: To:  j.hendricksjr@xxxxxxxxxxx -- Headers:

Pretty simple stuff.

http://docs.php.net/manual/en/function.mail.php

Regards,

Richard.

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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux