thomas Armstrong wrote:
> Hi.
>
> I created this script to send emails:
> -------------------
> $mailFromEmail = "[EMAIL PROTECTED]";
> $mailFromName = "MYDOMAIN";
> $mailTo = "[EMAIL PROTECTED]";
>
> $mailHeaders =
> "From: $mailFromName <$mailFromEmail>\n"
> . "Content-Type: text/plain; "
> . "charset=UTF-8; format=flowed\n"
> . "MIME-Version: 1.0\n"
> . "Content-Transfer-Encoding: 8bit\n";
>
>
Hi Thomas.
I really hope that $mailFromEmail/$mailFromName are either set just like
you have them, or are sanitized prior to input -- otherwise, your email
has spammer written all over it!
> $mailSubject = "Hi! " . date('h:i:s A');
> $mailMessage = "Hi,\n\nHow are you?\n" . date('l dS \of F Y h:i:s A') . "\n";
>
>
Your body looks like spam - with a spam subject. Try sending something
that is a little more non-spammy :)
<snip>
Regards,
Ryan Yagatich
--
Pantek, Inc. - http://www.pantek.com/ - [EMAIL PROTECTED]
+1-877-LINUX-FIX - Expert Open Source Technical Support
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php