Re: send email by php class

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

 



> afan@xxxxxxxx wrote:
>> Hi,
>> To send email confirmation (after registration or to administrator after
>> Contact us form is submitted) I use the "standard" way:
>>
>> function send_confirmation($to, $subject, $message)
>> {
>>     $header  = "Content-type: text/plain; charset=iso-8859-1\n";
>>     $header .= "From: Vernon Company <webmaster@xxxxxxxxxxxxxxxxx>\n";
>>     $header .= "Reply-To: Order Processing Dept.
>> <webmaster@xxxxxxxxxxxxxxxxx>\n";
>>     mail($to, $subject, $message, $header);
>> }
>>
>> send_confirmation($SalesEmail, $Subject, $Message);
>>
>> It works fine, though, few times email was blocked and finished in
>> Junk/Bulk/Spam folder.
>>
>> Now, I have to start sending emails as html. Not big deal.
>> But, it's so easy to get blacklisted if you make a mistake and I wanted
>> to
>> grab and use good email class to do this. OUr web server is php5 based.
>>
>> Was looking on phpclasses.net for the class but there are tons of them.
>> Can somebody recomend any class? Something simple.
>
> phpmailer.sourceforge.net
I think this is it.
:)

Thanks Jochem.


>
>>
>> Thanks for any help.
>>
>> -afan
>>
>
>

-- 
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