AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

Send Email with Attachment in ASP.NET and C#

Monday, June 30 2008

This tutorial will show you how to send a simple email message with an attachment using ASP.NET 2.0 and C# Sending a email with an attachment using ASP.NET 2.0 and C# is actually very simple. First, you will need to import the System.Net.Mail namespace. The System.Net.Mail namespace contains the SmtpClient and MailMessage Classes that we need in order to send the email and the message attachment...

Send Email with Authentication using ASP.NET and VB

Monday, June 30 2008

This tutorial will show you how to send a simple email message with authentication using ASP.NET 2.0 and VB.NET Sending a email with Priorities using ASP.NET 2.0 and VB.NET is actually very simple. First, you will need to import the System.Net.Mail namespace. The System.Net.Mail namespace contains the SmtpClient and MailMessage Classes that we need in order to send the email and specify the user credentials necessary to send authenticated email...

Sending Email in ASP.NET 2.0 : Scott Mitchell

Monday, June 30 2008

The .NET Framework version 1.x included a number of classes in the System.Web.Mail class that allowed programmatically sending an email with a few scant lines of code. While this namespace and these classes still exist in the .NET Framework version 2.0, they have been deprecated in favor of new mail-related classes found in the System.Net.Mail namespace. In this article we'll look at the classes in the System.Net.Mail namespace and see how to send an email from an ASP.NET 2.0 page's code-behind class. Email serves as a ubiquitous, asynchronous notification and information distribution system. Not...

Mail Templates : Kleshchevnikov Alexander

Monday, June 30 2008

In this article am going to consider the process of managing and sending emails inside a web application. Almost every web site has a feedback form or a registration form. After validating user's entries and do some actions it is necessary sometimes to send a notification email to the user or, for instance, to a moderator of the site. To achieve this goal you can use the standard .NET classes (read more there and there if you are using .net 2). But how can you manage permanent content of emails inside your web application? The simplest way is to hardcode email content and inserts dynamical values...

ASP.NET Tip: Sending Mail with ASP.NET 2.0 : Eric Smith

Monday, June 30 2008

The new System.Net.Mail library in ASP.NET 2.0 introduces some useful features, but it also includes bugs. Find out how they come into play when you send mail. In ASP.NET 2.0, Microsoft deprecated the System.Web.Mail namespace and replaced it with System.Net.Mail. The new library introduces some new features, but it also includes some bugs in how mail is sent. Before discussing some of these in detail, let's go through some code sample (which assumes you've added a using System.Net.Mail at the top of the file)...