Email throughSMTP

  • Thread starter Thread starter Mamathasri
  • Start date Start date
M

Mamathasri

Hi,

How to send Email through SMTP in VB.NET,please help me if
u know any URL or source code in windows application.

Mamathasri
 
Hi Mamathasri

This is distributed by Kudzu

\\\
Imports Indy.Sockets.IndyNNTP

Dim LHTTP as new HTTP
Dim LMsg as new Message

with LMsg
From.Address = "(e-mail address removed)"
Subject = "Hello"
Newsgroups.Add("microsoft.public.dotnet.languages.vb")
Body.Text = "This is my message"
end with

LHTTP.Host = "msnews.microsoft.com"
LHTTP.Connect
try
LHTTP.Post(Message)
catch
LHTTP.Disconnect
end try

http://www.indyproject.org/indy.html
///


I hope this helps a little bit?

Cor
 
Hi Mamashasri,

I connected my message to the wrong question, however here in addition to
Ken another link, normaly it was provided by Herfried.

http://www.systemwebmail.net/

When you want only to open the default mailclient, reply than because for
that you only need a simple piece of code.

I hope this helps a little bit?

Cor
 
Hi Bismark,

Why do you think I do not see the difference?
My mistake was that I sand an answer to the wrong question.

Sometimes that can happen when you send more messages you know.

However thank you to make me attent on that.

Cor
 
Back
Top