How do I forward a message?

Giganews Newsgroups
Subject: How do I forward a message?
Posted by:  Alexandre C. Machado (alexand…@consultbrasil.com.br)
Date: Mon, 4 Jul 2005

I'm using Indy 9 to create a mail distribution application. I have three
componentes in my form:

TIdPop3, TIdSMTP and TIdMessage.

My POP3 receives the message using the message component (Msg:
TIdMessage) -> This is OK

I want to forward the same Msg using my SMTP component. So I've changed the
"Msg.From.Name", "Msg.From.Address" and "Msg.Recipients.EMailAddresses" of
the original message, and called SMTP.Send(Msg).

But this does not work, and does not give me any exception. What I have done
wrong?

TIA.

ACM

Replies