You are here: PHP create HTML email inserts '!'s « PHP Programming Language « IT news, forums, messages
PHP create HTML email inserts '!'s

Posted by geek7 on 02/07/07 19:03

OK,

I'm trying to create an email and when it sends the email, it mostly
works except that there are '!' inserted at some spots. Checking the
html source of the email, looks like they are placed at the end of
long lines. I'm assuming there is some issue with the encoding, but
searching through groups, nothing I've tried has worked. Can someone
let me know if I should be doing something differently with my headers
for an html email? I'll change emails to null@null.com. Thanks!

$headers = "X-Mailer: PHP " . phpversion() . "\r\n";
$headers .= "From: null@null.com\r\n";
$headers .= "Reply-To: null@null.com\r\n";
$headers .= "Content-Type: text/html;\r\n";
$headers .= "charset=\"iso-8859-1\"\r\n";
$headers .= "Content-Transfer-Encoding: 7bit\r\n";

 

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

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