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

-------------------------------------------------------------------------
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

Reply via email to