Articles -- Email -- Sending Email with ASP.NET 2.0

To add custom headers you need to use MailMessage.Headers property. If you want to request a read receipt you need to add custom header (Disposition-Notification-To) like in example below:

Add Custom Headers:

See Also:

Easy way to send email in few lines of code  
Add multiple To, CC, BCC
ReplyTo, Priority (Importance)
Custom Headers, Request a Read Receipt

Working with mail message body format:
Send email in plain text format
Send email in HTML format
Send Multi-Part MIME email
Encode the message body and subject

Send email with attachment:
... from file system
... from a stream
... as embedded external resource

Ask a Question


4AspNet POP3
.NET Component


Join WebHost4Life.com
Home E-mail Us Add to Favorities (Ctrl+D)