hi the html part as attachment happend with outlook now i tried with outlook2003 and it seems to be ok even when text part was first and when html part was first
i guess the problem is when i have attachment as an addition to the text and html parts (then i use multipart/mixed) i will test it to be sure Original Message: ----------------- From: Jon Bertrand [EMAIL PROTECTED] Date: Mon, 19 Feb 2007 15:39:10 -0700 To: [email protected] Subject: Re: [Synalist] outlook consider html as attachment The most advanced part should be last. In your case that means the HTML part needs to be last. The idea was old "legacy" clients know only text and they were coded to just show the first - they will show the text version. New clients were coded to start with the last part and work their way backward - they stop and display the first part they understand. Then the only real trouble you have is clients that think they know HTML when they really don't (ccMail for example). -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Monday, February 19, 2007 9:44 AM To: [email protected] Subject: Re: [Synalist] outlook consider html as attachment hi thank you for your response the problem is, outlook in hebrew has a bug (that MS says it isnt even though the english version works ok), so putting the html part last, makes it show gibberish is there another multipart/??? option that i can use to mayb solve this problem? (im using multipart/mixed only in case i have attachments) i want to make sure i got your email right at first u wrote: "make sure you put the text/html part last." and in the end u wrote: "So if you put text/plain last that is all you'll ever see" currently text part is last, so should it be last or before last? thanks _____ áúàøéê 19/02/2007 17:33:13, Jon Bertrand - [EMAIL PROTECTED] ëúá: If you do multipart/alternative emails with text/plain and text/html make sure you put the text/html part last. The Client is supposed to read the alternatives in reverse order and stop on the first one they understand and know how to display. So if you put text/plain last that is all you'll ever see. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Saturday, February 17, 2007 1:27 PM To: [email protected] Subject: [Synalist] outlook consider html as attachment hi i have 2 parts in the email text part and html part like this: MimePart := Msg2.AddPartMultiPart('alternative', nil); tmpHTML.Text := tmphtml; Msg2.AddPartHTML(tmpHTML, MimePart); tmpHTML.Text := tmptext; Msg2.AddPartText(tmpHTML,MimePart); and it seems that outlook consider one of the parts as attachment so the receiver sees the content as it should but he also gets an attachment (im not sure if its the html part or the text part) how can this be avoided? thanks -------------------------------------------------------------------- mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
