Click here to Skip to main content
15,909,437 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
what is mail.yourservername.com and from where i have to get it..??
and network credential..??

i wanted to know about these two because i want to build contact form from long days i am doing this till now i am not able to do so please help me with the code asp.net C# code please make time to post r mail me at karthikh87 at gmail dot com sorry for taking your time but i am not finding any resource to learn properly i am new to developing help me plzzzzzzzzz

thanks in advance
Posted

1 solution

 
Share this answer
 
v2
Comments
karthikh87 30-Jan-12 4:39am    
// You can specify the host name or ipaddress of your server
// Default in IIS will be localhost \
// smtpClient.Host = "smtp.google.com";

currently i am using : smtpClient.Host = "localhost";

i get mail to gmail id but it also gets error as fake email id report r learn more so if i don't want to get that what i have to do instead of "local host"

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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