Sending an email from within my application

G

Guest

Hi,

I want my application to be able to send an email.

The PC that the application may run on, may not have outlook installed or
even have an SMTP service running within its network.

Is there a way from within VB.net 2008 to send an email in this scenario, or
would I need to get a SMTP component and include it within my application ?

Thanks
 
T

Tom Shelton

Hi,

I want my application to be able to send an email.

The PC that the application may run on, may not have outlook installed or
even have an SMTP service running within its network.

Is there a way from within VB.net 2008 to send an email in this scenario, or
would I need to get a SMTP component and include it within my application ?

Thanks

You can use System.Net.Mail.SmtpClient to send email - but, your going to have
to have a server that you can connect to... It doesn't have to be local, but
it does have to be reachable. And, you have to be able to support it's
authentication protocols.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top