Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: I have a question about TIdSmtp Component.

www.cryer.info
Managed Newsgroup Archive

Re: I have a question about TIdSmtp Component.

Subject:Re: I have a question about TIdSmtp Component.
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Tue, 23 May 2006 00:19:14

"daniel pan" <danielpan@gd165.com> wrote in message
news:4472b4ea@newsgroups.borland.com...

> I found the send command of TIdSmtp will add a '.'
> after my mail content.

As it should be.  That is a requirment of the SMTP protocol.

> In RFC-821, it says it should add '<CRLF>.<CRLF>' after
> the mail content.

TIdSMTP does what the RFC says to do.

> So, I modified the source of IdSMTP.pas

You should not have done that.

> how do I made such code worked?

TIdSMTP was already doing the correct thing to begin with

> has another way to modify the end-of-transmission marker of TIdSmtp?

Why are you trying to change it?  TIdSMTP is not broken in that regard.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive