BUG System.Web.Mail.SmtpMail BUG

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

Unable to specify login credentials for SMTPMail object.

How can I specify a login for sending SMTP with SmtpMail class?
 
How can I specify a login for sending SMTP with SmtpMail class?

It's done through the SMTP mail server. If you are using Microsoft SMTP
mail server, you can perform the administrative settings in the property
pages of the Internet Service Manager console.

Good luck.
 
But it requires me to log on. Just like the setting i do in outlook so how
can i programatically do this..
 
so how can i programatically do this..

You don't; at least not with the SmtpMail class or anything in the
System.Web.Mail namespace. You can write admin task oriented script for the
Internet Service Manager (ISM) console. Sample scripts are contained in a
subdirectory of the inetpub directory.
 
So, what yer saying is .NET is absolutely sshhitee at mail clients.

Thanks.
 
SMTP is a protocol and it does not address security concerns like
authentication & authorization. The SmtpMail object is a wrapper to be used
by any mailing system/server that follows that protocol. It's neither a bug
nor a problem specific to Microsoft.
 

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

Back
Top