Part of the EllisLab Network
   
 
HTML Emails and Yahoo
Posted: 19 July 2008 07:36 PM   [ Ignore ]  
Summer Student
Total Posts:  4
Joined  06-07-2008

Howdy,

When I send out an HTML email using the built in CI class, in Yahoo the first top of it gets cut off, while the rest is not shown in the email.

I can echo the message out fine and made sure no HTML errors are in my code, but when I send it off and check with Yahoo, only about the top portion gets shown.

Any ideas?

Thanks,
Adam

 Signature 

About 99% of everything done in the world, good, or bad, is used to pay a mortgage, maybe the world will be a better place if we all rented!

Profile
 
 
Posted: 19 July 2008 07:57 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  590
Joined  08-06-2006

yes, yahoo strips a bunch of stuff from your HTML email.

an email service called campaign monitor has collected lots of data on which email readers do what. check it out and re-write your HTML to suit your target reader, be it yahoo, outlook, eudora, or pine.

Profile
 
 
Posted: 20 July 2008 12:23 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  4
Joined  06-07-2008

Howdy,

Found the issue,

$send_multipart needs to be set to FALSE.

Thanks,
Adam

 Signature 

About 99% of everything done in the world, good, or bad, is used to pay a mortgage, maybe the world will be a better place if we all rented!

Profile
 
 
Posted: 20 July 2008 01:44 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  218
Joined  04-23-2008

That would probably annoy the heck out of people using “real” mail UAs (read: non-HTML ones), but so what ...

 Signature 

while(!(succeed=try()));

Profile
 
 
Posted: 12 August 2008 01:49 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  14911
Joined  06-03-2002

Actually adam, that’s not the solution.  What was likely happening was you had a space or tab character that landed at the 76th character or EOL and ended up getting improperly encoded to a null character.  Yahoo truncated all content following any null character in the email.  This has been fixed in the svn and HTML emails to Yahoo can now be sent willy nilly!

 Signature 
Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 60658 Total Logged-in Users: 25
Total Topics: 73065 Total Anonymous Users: 1
Total Replies: 393973 Total Guests: 345
Total Posts: 467038    
Members ( View Memberlist )