Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Nov : Re: Send mail with TIMAP4

www.cryer.info
Managed Newsgroup Archive

Re: Send mail with TIMAP4

Subject:Re: Send mail with TIMAP4
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 19 Nov 2007 09:59:45

"Arni Thor Erlendsson" <arnithor@skyrr.is> wrote in message
news:47416976$1@newsgroups.borland.com...

>    IdIMAP.SendMsg(IdMessage);

That is not the correct way to send a TIdMessage.  SendMsg() is an internal
method, you should not be calling it directly at all.

It turns out that the IMAP protocol does not allow for sending mail at all,
only retreive them.  So you will have to use SMTP or MAPI instead for
sending.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive