Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: How to initialize TIdSMTP and TIdMessage?

www.cryer.info
Managed Newsgroup Archive

Re: How to initialize TIdSMTP and TIdMessage?

Subject:Re: How to initialize TIdSMTP and TIdMessage?
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Fri, 18 Aug 2006 17:27:15

"Blackbird Crow Raven" <blacky@redgreen.com> wrote in message
news:44e650bd@newsgroups.borland.com...

> [Pascal Warning] BoontlingUtils.pas(360): W1036 Variable 'IndySMTP' might
> not have been initialized
>
> [Pascal Warning] BoontlingUtils.pas(364): W1036 Variable 'IndyMailMessage'
> might not have been initialized

Please show your actual code.  You are probably trying to access them before
instantiating them.

> How does one initialize the TIdSMTP and TIdMessage components?

The same way you instantiate any other component - by calling its Create()
constructor.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive