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@discussions.microsoft.com> wrote in message
news:AEE8CF46-3BC2-4276-8B8B-0F180E069C15@microsoft.com...[color=blue]
> hi psg,
> i checked the link u have provided but i am having difficulty[/color]
understanding[color=blue]
> 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:
>[color=green]
> > "VenuGopal" <VenuGopal@discussions.microsoft.com> wrote in message
> > news:560FDA1D-8AB2-4663-8FF7-98C858624FEA@microsoft.com...[color=darkred]
> > > My client uses Win 98. The email part does not work in Win98. I read[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > documentation and i find that System.Web is not supported in Win98.
> > >
> > > Now How do i send email on a win 98 platform.[/color]
> >
> > I'm not sure about it (if it works under Win98), but you may give it a[/color][/color]
try:[color=blue][color=green]
> >
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
> >
> >
> >[/color][/color]