Sending e-mail with attachments from an ASP.NET page
4427Sending e-mail with attachments from an ASP.NET pagehttp://stardeveloper.com/go/0032The task of sending e-mails has become much easier in ASP.NET. In previous versions of ASP we either used a third party component or the limited functionality of CDONTS component for sending emails. The .NET framework provides simpler but powerful class libraries for sending emails. These classes are in the System.Web.Mail Namespace. Following table lists the classes and their use :
Class Purpose
MailAttachment To construct an email attachment.
MailMessage To construct an email message.
SmtpMail To send an email attachment using the SMTP mail service.ASP.NET > Tips and TutorialsOct 10, 2006
Microsoft surprised a lot of people with the release of their initial white paper on HailStorm. It contained the frank proposal that HailStorm services would be completely accessible from any platform, and not just Windows. As the white paper put it:
DataSource controls enable programmers to declaratively connect data sources to the user interface. The logic for retrieving the data from the source is inbuilt into the control. For instance when a DropDownList is added to the form the developer is prompted to connect to the DataSource. On Clicking ?connect to DataSource?, the wizard is started to guide the user through the process of setting up the data source
VB.NET 2005 Free Training: Differences between VB.NET 1.0 and VB.NET 2.0: VB.NET 2005 comes with a number of enhancements. The IntelliSense Code snippets, the Windows Forms designer updates, IntelliSense filtering, debugger data tips, exception Assistant etc make the software a pleasure to work with. The language has been spruced up with generics, unsigned types, Operator overloading etc.
VB.NET 2005 Tutorials: Access and Manipulate Data - ADO .NET Object Model - In this tutorial you will learn about The ADO .NET Object Model, Data Providers and Their Objects and the Dataset Objects ADO .NET renders very good support for working with disconnected data. ADO .NET 2.0 comes with additional features that enhance the performance of common database tasks.
ASP.NET is an exceptionally remarkable technology for building web applications. We begin exploring ASP.NET pages with this first article. In this article we'll learn :
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.