Click here to Skip to main content
15,902,817 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello!
Please i need help. I have this small C#.net application that i want to use to send an email message. I have been trying to search the internet for how i can achieve this for some hours now but with no success. All that i get is that i have to use SMTP server but details of how to access or configure SMTP server access on my application are not included. Please someone help. I need all the details of how to configure the server. I have discovered that i can use gmail server to send emails from my app but how can i do that on my app. Please i need full details, if its configuring it in the app.config file i need all the info like all necessary elements their properties and attributes and their explanations. I hate links please.

Thank you very much in advance!
Posted
Comments
__TR__ 31-Aug-12 8:36am    
"I have been trying to search the internet for how i can achieve this for some hours now but with no success."
Here is a CP article with tips on how to use google search. You might find it useful.

How to Use Google and Other Tips for Finding Programming Help[^]
thusolebalang 31-Aug-12 9:55am    
Thank you TR i followed your link and from now on i will apply your tips.

Hi ,
A better solution is there, a simple function code is here by which you can just copy paste and use it.
and by this you can also send email-attachemnt if you want.

http://hemantrautela.blogspot.in/2012/09/advance-email-sending-codecnet-with.html[^]
 
Share this answer
 
Refer: Send E-Mail from your .NET Application using your GMail Account[^]

..and lot more similar articles & QA on CP Search[^]
 
Share this answer
 
v2
Comments
__TR__ 31-Aug-12 8:32am    
My 5!
Prasad_Kulkarni 31-Aug-12 8:43am    
Thank you TR!
[no name] 31-Aug-12 8:38am    
my 5
Prasad_Kulkarni 31-Aug-12 8:43am    
Thank you Mits!
Christian Amado 31-Aug-12 10:24am    
+5! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900