|Subject:||Extract the actual body text and attachment from multipart mail|
|Posted by:||Codeman II (thegentlem…@webmail.co.za)|
|Date:||Fri, 6 Jan 2006|
I am using Delphi 7 with latest Indy 9 version (if it havent changed in past
I have created a simple SMTPServer which receives all outgoing messages from
your mail client.
It the extract all the email parts and log it in a database whereafter I am
sending the message to it's destination.
The part where I need to send the email to its destination looks like its
working fine, thus far.
What I am struggling with is the extract the actual body text (as it would
display in a mail client) and the file attachment IF AN ATTACHMENT exists.
And also if more that one attachment I need to obtain all the attachments.
I am using TidSMTPServer component and my code is in the
Can anyone please show me example.
Thanks in advance!