Send email in C#/.net
Next part of the bit in my project is to send out an email containing the check-list generated to current logged-in user. Below is the method i called to email out the generated check list. message body can be customized according to your requirement. You can also define the contact but in my project, the requirement is to generate checklist and email it to myself/current user.
(PS: Please note that i have changed the original names i used in the project, that's why it indicate red under checkbox names.)
How to find your SMTP server?
You can simply find it from your outlook.
1. File-> Info
2. Account Settings -> Account Settings
3. In the Email tab double click on Name
4. "Server" shows you the SMTP server that you need to refer for the SMTP client.
(MS outlook 2010)
No comments:
Post a Comment