SMTPClient and server authentication

G

Guest

Hi, a lot of SMTP servers for outgoing email are now requiring a user id /
password for authentication before the SMTP message will be sent. I'm using
a class in VB.NET 2005 that makes use of the SMTPClient in System.Net.Mail.
I've been looking at the Credentials property but that doesn't appear to be
what I need. Is there a way in .NET 2.0 to provide this information when
sending an email message? My application is used with various SMTP servers
by my clients. I know that the UID/PWD fields need to contain the same
information used to access the POP3 server when downloading messages - I just
don't know how to set them in SMTPClient.

Thanks for your thoughts.
 

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