Article View: borland.public.cppbuilder.internet.socket
Article #2112Re: How to send an attachment to an e-mail
From: Remy Lebeau (TeamB)
Date: Thu, 17 Aug 2006 16:40
Date: Thu, 17 Aug 2006 16:40
22 lines
1629 bytes
1629 bytes
"David Ayre" <davidcayre@ntlworld.com> wrote in message news:44e48ddd$1@newsgroups.borland.com... > attach->ContentType = "binary"; it works OK That is not a proper ContentType value. > except that the > text->Body->Text = acBody; > doesn't put the body text in. Then you did not use it correctly. Please show the actual code you are using, and the raw data that TIdMessage generates. > I have to put it in the IdMessage->Body instead and then it works. Do not mix TIdMessage::Body with TIdMessage.MessageParts. Use one or the other, not both. Gambit
Technical Details
Message-ID:
<44e49c50$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<44e2059a$1@newsgroups.borland.com> <44e213f5$1@newsgroups.borland.com> <44e2178f$1@newsgroups.borland.com> <44e2793f$1@newsgroups.borland.com> <44e2da4d$1@newsgroups.borland.com> <44e34fc7@newsgroups.borland.com> <44e48ddd$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f90837efd85511de X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <44e2059a$1@newsgroups.borland.com> <44e213f5$1@newsgroups.borland.com> <44e2178f$1@newsgroups.borland.com> <44e2793f$1@newsgroups.borland.com> <44e2da4d$1@newsgroups.borland.com> <44e34fc7@newsgroups.borland.com> <44e48ddd$1@newsgroups.borland.com> Subject: Re: How to send an attachment to an e-mail Date: Thu, 17 Aug 2006 09:40:49 -0700 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <44e49c50$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1155832912 68.69.17.41 (17 Aug 2006 09:41:52 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail