C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » ASP.NET/Web Applications »

MailMessage Class - Properties


Posted Date: 15 Mar 2004    Resource Type: Articles    Category: ASP.NET/Web Applications
Author: KasiviswanathMember Level: Gold    
Rating: 1 out of 5Points: 5



The MailMessage Class is used to send a email using SMTP Mail.

We can see the properties used in this class.

1. From - Used to set the From field of the email
2. To - Used to set the To field of the email
3. Subject - Used to set the Subject field of the emil
4. CC - Used to set the Carbon Copy field of the email
5. BCC - Used to set the Blind Copy field of the email
6. Body - Used to set the body of the email
7. Attachments
Gives the collection representing all the files attached with that mail.
8. BodyEncoding
Used to set the type of Encoding used in this mail Eg. Base64 (or) UUEncode.
9. Headers
Returns a collection that will contain headers used by the email.
10. Priority
Used to set priority as High/Low/Normal
11. UrlContentBase
Used to set the content Base header of an HTML email message.
12. UrlContentLocation
Used to set the content location header of an HTML email message



Responses

Author: swapnil Kaware    14 Oct 2004Member Level: Bronze   Points : 0
This information is not sufficient please Give the detail code or steps.


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Localizing The Application
Previous Resource: Don't preserve viewstate when doing a Server.Transfer
Return to Discussion Resource Index
Post New Resource
Category: ASP.NET/Web Applications


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use