C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




mailing between modules?


Posted Date: 05 Aug 2008      Total Responses: 3

Posted By: lavanya       Member Level: Gold     Points: 1



hi frends,
i havae 2 modules in my project,"admin" and "subretailer"
related screens and folder named inbox will b there in both the modules.
what ever operations performed by subretailer,he should inform to admin through mailing concept.that mail vl b stored in admin's inbox.same as what ever mails admin send to subretailer it should save to subretailer inbox folder.

can any one expalin me in detail and programatically.

i am using asp.net $ c#,.net3.0 version

urgent..





Responses

Author: Muthukumar    05 Aug 2008Member Level: SilverRating:     Points: 6

Lavanya,

To create and send an e-mail message, follow these steps:
1. Create a MailMessage object. MailMessage and other mail-related classes are in the System.Net.Mail namespace.
2. Assign values to From, To, Subject and Body properties.
3. If necessary, create one or more Attachment objects and add them to the MailMessage object.
4. Create an SmtpClient object, and specify the SMTP server.
5. If the SMTP server requires clients to authenticate, add credentials to the SmtpClient object.
6. Pass your MailMessage object to the SmtpClient.Send method. Alternatively, you can use SmtpClient.SendAsync to send the message asynchronously.



Author: lavanya    05 Aug 2008Member Level: GoldRating:     Points: 2

hai muthukumar,
thats a simple mail appln right,,
i want to send mails btween folders of various modules can u exaplain me programatically>



Author: Muthukumar    05 Aug 2008Member Level: SilverRating:     Points: 1

You mean creating simple text log message files to be created in the Inbox folder?


Post Reply
You must Sign In to post a response.
Next : javascript function calling
Previous : RDLC REPORT
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use