smtpMail

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

Gerhard

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

Steven Cheng [MSFT]

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
 

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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top