Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Nov : Forwarding Multi-Part Messages Using TIDPOP3, TIdSMTP, TIDMessage

www.cryer.info
Managed Newsgroup Archive

Forwarding Multi-Part Messages Using TIDPOP3, TIdSMTP, TIDMessage

Subject:Forwarding Multi-Part Messages Using TIDPOP3, TIdSMTP, TIDMessage
Posted by:"Johnnie Norsworthy" (jln2..@verizon.net)
Date:Thu, 2 Nov 2006 11:05:40

I have a simple application for sending to a mailing list. What I want to do
is read a message from a specific mailbox and then forward to a bunch of
recipients. The basic process is:

Message sent to a mailbox
I use TIdPOP3.RetrieveMessage(1,IdMessage) to retrieve it. Now My message is
in IdMessage component.

Then I want to just turn around and send that message to a list. I want to
retain the original sender and changing the recipient and send the message
with a TIdSMTP component.

Do I need to do anything else with the message besides change the recipient?

Will any formatting (MessageParts) be lost? What about attachments?

If I change the recipient and repeat the send process will it still be the
same or does anything get modified after sending?

I am hoping I understand the operation correctly, but I hate to waste a lot
of trial and error testing.

Thanks,

-Johnnie

Replies:

www.cryer.info
Managed Newsgroup Archive