You are here: Re: HTML email using PHP « All PHP « IT news, forums, messages
Re: HTML email using PHP

Posted by Zoe Brown on 10/19/05 17:21

> $Headers = "FROM: Test Message <YourEmail@YourDomain.com>\r\n";
> $Headers .= "Reply-To: Test Message <YourEmail@YourDomain.com>\r\n";
> $Headers .= "Return-Path: Test Message <YourEmail@YourDomain.com>\r\n";
> $Headers .= "X-Priority: 1\r\n"; //1 is important 3 is normal
> $Headers .= "X-MSMail-Priority: High\r\n";
> $Headers .= "X-Sender: Test Message <YourEmail@YourDomain.com>\r\n";
> $Headers .= 'X-Mailer: PHP/' . "phpversion()\r\n";
> $Headers .= "MIME-Version: 1.0\r\n";
> $Headers .= "Content-Type: text/html; charset=iso-8859-1 \r \n";
> $Headers .= "Content-Transfer-Encoding: 8bit\r\n";

thanks loads, I have got this working now I was having string concatenation
issues as I am new to PHP, but it works now.

Its nice to know that the HTML approach I am using is OK. This is not a
news letter but an order confirmation and I know the configuration of the
email client that particular address is using so I know it will be fine.

Thanks again.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация