Re: Squirrelmail PHP HTML Email Issues

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

 




Eric OwN-3m-All wrote:
> 
> *Problem:
> *
> 
> I'm having problems with emails containing HTML content.  When Google
> downloads the email messages via POP3 from my squirrelmail server, the
> message does not display using HTML.  I'm not sure if this is Google's
> fault
> or Squirrelmail's fault, but I've never had problems before on other
> servers
> running the same script and using squirrelmail.  If I login to
> squirrelmail,
> I have the option to download the email message as an attachment.  The
> attachment, if opened by my local browser, shows up as HTML content, and
> it
> is properly formatted. However, I'm using Google to download my emails and
> file them under my Gmail account. After Gmail downloads the messages, it
> shows up like this:
> 
> *from
> to    admin@xxxxxxxxxxxxxxxxx
> date    Sat, Jul 30, 2011 at 6:07 PM
> subject    Pending Registration
> 
> Content-type: text/html; charset=iso-8859-1
> 
> From: Name Removed <admin@xxxxxxxxxxxxxxxxx>
> Message-Id: <20110730234302.6B6FEDC08BA@eric-desktop>
> Date: Sat, 30 Jul 2011 17:43:02 -0600 (MDT)
> 
> <p>After registering your client via your server, please visit the
> following URL to send them confirmation:</p>*
> 
> Any ideas? I really need it to show up properly once Gmail downloads the
> messages, as it takes a long time to login to Squirrel mail and download
> each message as an attachment.
> 
> My PHP Code Headers Look like this:
> 
> $headers = 'MIME-Version: 1.0' . "\r\n";
> $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
> $headers .= "From: $uname <$email>";
> 
> Any help would be greatly appreciated.
> 
Fix your mailer scripts. Emails are not supposed to have empty lines between
header lines.

If your emails has
-----
Subject: test

From: somebody

Content-Type: blablabla
-----

Only Subject: line is treated as header. The moment you put to empty line in
email body it switches from headers section to context section.
-- 
View this message in context: http://old.nabble.com/Squirrelmail-PHP-HTML-Email-Issues-tp32291487p32292450.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux