Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: problem w/ MIME::Lite and multipart/alternative emails

by geektron (Curate)
on Jan 23, 2006 at 18:56 UTC ( [id://525017]=note: print w/replies, xml ) Need Help??


in reply to Re: problem w/ MIME::Lite and multipart/alternative emails
in thread problem w/ MIME::Lite and multipart/alternative emails

Hmm, works fine for me (what exactly do you mean by "isn't coming through"?):

I'm not getting the rendered display of the message in my mailreader. I've looked at the source, and it is, in fact, there ... but my mailreader (Thunderbird) isn't rendering it).

  • Comment on Re^2: problem w/ MIME::Lite and multipart/alternative emails

Replies are listed 'Best First'.
Re^3: problem w/ MIME::Lite and multipart/alternative emails
by tirwhan (Abbot) on Jan 23, 2006 at 19:24 UTC

    So this is actually a Thunderbird question, not a Perl question, right ;-)? With multipart/alternative you'd expect the client to only show one of the alternative contents (that's what that Content-Type is for). Go to your "View"->"Message body" menu in Thunderbird and fiddle with the settings there, it gives you some options on what you want displayed.


    There are ten types of people: those that understand binary and those that don't.
      Actually, it's more of a bug with Thunderbird, apparently. I *do* have my settings so that the original HTML is displayed, but Thunderbird isn't displaying it.
Re^3: problem w/ MIME::Lite and multipart/alternative emails
by thedoe (Monk) on Jan 23, 2006 at 20:41 UTC

    I had this exact same problem when trying to create a program which would email Lotus Notes users.

    It has been a while, but if I remember correctly the solution was to send the source in the text portion of the message and include the HTML as a multipart attachment. It was something very odd and hacky, but it solved the problem for Notes. If this is something that you truly need to see in Thunderbird, trying doing a combination of attaching one part and putting the other in the base message.

      actually, i found a solution after searching through the mozillazine.org forums.

      the order of the MIME types is important to Thunderbird. irritating at best and causes 'broken' emails at worst. the specific link i found to help solve the problem is here

        I should point out that the order of the alternatives is important as the RFC (RFC2046) says that a user agent should display the last one that they can handle. Any user agent doing otherwise is not MIME compliant.

        It's up to the sender to decide the preference, and it goes from lowest to highest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://525017]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-19 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found