Re: EMAIL on Win98
- From: "Matthijs ter Woord \(Team Indy\)" <matthijsterwoord@xxxxxxxxx>
- Date: Mon, 11 Jul 2005 14:09:33 +0200
Hi Venugopal,
You have to create a Indy.Sockets.Message.
Then you have to set the Message.Subject, the Message.Body (using
Message.Body.Text or Message.Body.Add), the Message.Recipients and the
Sender
For sending the actual email, you need to create a Indy.Sockets.SMTP
component.
SMTP has some properties, most of them are self describing:
Username
Password
Host
Port
If you have a smtp server which doesn't require authentication, you don't
need to set Username and Password
Then you should connect to the smtp server and send the message:
MySMTP.Host = "smtp.myhost.com";
MySMTP.Connect();
if (MySMTP.Authenticate)
{ // Authenticate determines whether login is required
MySMTP.Send(MyMessageInstance);
}
MySMTP.Disconnect();
Greets,
Matthijs ter Woord
"VenuGopal" <VenuGopal@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AEE8CF46-3BC2-4276-8B8B-0F180E069C15@xxxxxxxxxxxxxxxx
> hi psg,
> i checked the link u have provided but i am having difficulty
understanding
> the Indus thing... plzzz can u give mea liltle more info.
> i am sure there are a lot o ppl who are wanting to knw how to get around
> this problem.
> Once again thanks in advance
> Venugopal
>
> "psg" wrote:
>
> > "VenuGopal" <VenuGopal@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:560FDA1D-8AB2-4663-8FF7-98C858624FEA@xxxxxxxxxxxxxxxx
> > > My client uses Win 98. The email part does not work in Win98. I read
the
> > > documentation and i find that System.Web is not supported in Win98.
> > >
> > > Now How do i send email on a win 98 platform.
> >
> > I'm not sure about it (if it works under Win98), but you may give it a
try:
> > http://www.indyproject.org/Sockets/Download/DotNet.iwp
> >
> > There you have two main components for sending e-mails:
> > Indy.Sockets.SMTP
> > Indy.Sockets.Message
> >
> > RGDS PSG
> >
> >
> >
.
- References:
- EMAIL on Win98
- From: VenuGopal
- Re: EMAIL on Win98
- From: VenuGopal
- EMAIL on Win98
- Prev by Date: Re: Can 'is' followed by cast by optimized away
- Next by Date: Re: De-compress a file from UNIX
- Previous by thread: Re: EMAIL on Win98
- Next by thread: Re: EMAIL on Win98
- Index(es):
Relevant Pages
|