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.
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.