Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 17th, 2005, 03:51 PM
Registered User
 
Join Date: Jan 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to puliko
Default Sendmail with HTML problem

Hi all ,
              I have problem about sending email with php that runing on linux server and I use postfix for sending email. I send email with HTML code but somebody got my email in the right format but somebody got the text html code only like below

<html>
<head>
<title>Problem</title>
</head>
<body>
Hello Could you help me I have some problem about HTML mail
</body>
</html>

          I use header like this

$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type:text/html; charset=iso-8859-1\r\n";

$headers .= "From:Webmster<webmster@abcd.com]>\r\n";

         So I don't know what 's wrong Why somebody cannot got email in the right format of HTML.It's about my server,php,apache,postix or client's mail server.



Puliko
 
Old January 24th, 2005, 04:43 PM
Registered User
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to TheRepublic
Default

Well it depends since some people opt to not recieve html email often clients like outlook or even mozilla's ever popular "thunderbird" have a feature that allows the client to not view html email due to "viruses" that can be attached to them.









Similar Threads
Thread Thread Starter Forum Replies Last Post
SendMail Problem bahachin Excel VBA 0 November 22nd, 2006 09:45 AM
AjaxMail Problem In function sendMail czarft BOOK: Professional Ajax ISBN: 978-0-471-77778-6 1 August 19th, 2006 04:14 PM
CDONT sendmail problem haji_mb Classic ASP Components 5 April 16th, 2005 07:00 AM
Sendmail datagram Classic ASP Components 5 April 10th, 2005 06:26 PM
Sendmail datagram Classic ASP Components 4 March 8th, 2005 08:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.