 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Gintaras Kekys Guest
|
Posted: Thu Nov 27, 2003 8:16 am Post subject: How to smtp with Indy? |
|
|
Hi.
How do I send an email with attachment through Indy's TIdSMTP + IdMessage?
Best wishes,
Gintaras
Lithuania
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu Nov 27, 2003 10:30 am Post subject: Re: How to smtp with Indy? |
|
|
"Gintaras Kekys" <gintaras-erasethis (AT) sb (DOT) lt> wrote
| Quote: | How do I send an email with attachment through Indy's TIdSMTP + IdMessage?
|
Simply add a TIdAttachment instance for the file to the
TIdMessage::MessageParts collection, and a TIdText instance for the message
text, and then call connect to the server and call TIdSMTP::Send() passing
it the TIdMessage.
Gambit
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|