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" <Ve*******@discussions.microsoft.com> wrote in message
news:AE**********************************@microsof t.com...
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" <Ve*******@discussions.microsoft.com> wrote in message
news:56**********************************@microsof t.com... 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