Skip to main content

Latest Articles: SMTP


Send E-Mail from your .NET application using your GMail Account
Entry Date: Dec 2007 site: codeproject Rating:
keywords:.net framework 2.0; SMTP;
Article Description:
Most independent developers like to include a msg sending feature in their application. Well atleast I tried to.. Of course it is not a problem for a user with a smtp server access or a registered domain with an smtp server access. But unfortunately I had none of them. I use msn, gmail and yahoo for my mailing needs. Unfortunately yahoo does not offer smtp or pop access for their general/basic/free users. And msn it is not that reliable coz I was expecting a lot of mails to be sent and also to recive and as far as I know they also donot give you pop/smtp access!.
Comments:

One of the common issues when developing an application that needs to send e-mails (SMTP) is that whether you don't have access to an SMTP server in your development stage or it takes time to get an approval.

As a workaround for development, you can rely on GMail and check that your application is working correctly, you will have some limitations, but is a good start to test that your code is working fine.

You will find samples for .net fx 1.1 and 2.0 (system.web.mail, system.net.mail).

Click Here To Navigate to the Article

Frequently Asked Questions for System.Net.Mail
Entry Date: Sep 2007 site: System.Net.Mail Rating:
keywords:.net framework 2.0; SMTP;
Article Description:

This FAQ addresses the System.Net.Mail (SNM) namespace found in the 2.0 .NET Framework.

It starts with an Introduction and Programming Samples.

Comments:

system.net.mail is the new namespace introduced in .net framework 2.0 to send e-mail via SMTP (please do not use system.web.mail anymore).

here you will find a lot of good samples, and a FAQ. Very useful.

Click Here To Navigate to the Article

Frequently Asked Questions for System.Web.Mail
Entry Date: Sep 2007 site: System.Web.Mail, OH MY! Rating:
keywords:SMTP;
Article Description:
This FAQ addresses questions and problems with System.Web.Mail (SWM). It starts with an Introduction and Programming Samples. It concludes with resolutions to challenging errors and other resources.
Comments:

If you have to stick to .net fx 1.1 and you are having some issues trying to send e-mail using this namespace (system.web.mail), this complete faq will save you a lot of hours of headache.

If you are using .net framework 2.0, please do not use this name space any more, it has been deprecated, system.net.mail it's the one that you have to use.

Click Here To Navigate to the Article

Speak SMTP like a native
Entry Date: Sep 2007 site: The Microsoft Exchange Team Blog Rating:
keywords:.net framework 2.0; SMTP;
Article Description:
If you are writing an SMTP agent, you might find it instructive to learn to speak SMTP yourself, both to aid debugging and to get a feel for what is happening "under the hood" when Exchange receives a message from the internet. This is a lot easier than it might sound.
Comments:

.net framework 1.1 (system.web.mail) and 2.0 (system.net.mail), have very easy to use classes to send e-mail via SMTP. But...

... Most of the times when we try on our environment it seems that they don't work :-(. What can be the reason? When you talk with the network admin he tolds you that everythings works fine, blah blah, .net fx sucks, blah blah...

The first thing to check is... Do I have rights to rely on a given SMTP server? It will be a connectivity issue, or just a bug in my code?

This article explains you how to send an e-mail relying on an SMTP from a telnet console, if this fails blame on your Network administrator, if not... take a look at your code, you are missing something :-).

Click Here To Navigate to the Article

Sending HTML Mail with Embedded Image in .NET
Entry Date: Jul 2007 site: ASP Alliance Rating:
keywords:.net framework 2.0; SMTP;
Article Description:
In this article Soyuj Kumar explains the classes which are useful in .NET for sending an HTML e-mail with an embedded image, attachments and much more.
Comments:

System.Net.Mail has been a very big improvement on .net framework 2.0.

Users of the old System.Web.Mail had to play with HTML mails and adding images to web servers in order to display them in an HTML mode (or pay some money for third parties components).

Now with System.Net.Mail you can directly use MIME and attach images directly to your mails (you can skip with this the security on some mail browser of blocking images from other sites when showing an e-mail).

Click Here To Navigate to the Article

Page (1) Of 1