smtpMail

  • Thread starter Thread starter Gerhard
  • Start date Start date
G

Gerhard

Hi,

For years I have been using a simple method of sending email notifications
from a Windows app for one of my clients using:

System.Web.Mail.SmtpMail.SmtpServer ...
System.Web.Mail.SmtpMail.Send ...

It has been very reliable and stable. However, his provider is now
requiring that it be sent to a specific port, and may also require
authentication.

What is the recommended method for adding in these additional requirements?
I don't see a way to do it with the simple smtpMail.

Thanks.
 
Thanks. This should work fine. I'm afraid the main client that needs this
currently is still on .net version 1.1.
 
Hi Gerhand,

For system web mail and smtp authentication, you can check the following
article also:

#SMTP Authentication using System.Web.Mail (CDOSYS)
http://www.codeproject.com/KB/dotnet/SystemWeb_Mail_SMTP_AUTH.aspx

As Mark suggested, if possible, it is definitely recommended that we use
the .NET 2.0 System.Net.Mail to substitute the old system.web.mail one.

And just like the "systemwebmail", here is also a FAQ for system.net.mail:

#Frequently Asked Questions for System.Net.Mail
http://www.systemnetmail.com/

Hope this also helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: =?Utf-8?B?R2VyaGFyZA==?= <[email protected]>
References: <[email protected]>
Subject: Re: smtpMail
Date: Mon, 1 Sep 2008 09:40:01 -0700
 
Back
Top