Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

currently my web app cant sent email. Im using windows 7. already installed smtp4dev to listen to port 25. but nothing in it. :mad:
Posted

1 solution

ive added smtp server from gmail and it works :thumbsup: ..here is the code in C#-->

public static int SMTPPort = 687;
public static string SMTPHost = smtp.gmail.com"
public static bool EnableSSL = true;
public static string MailerAddress = nano@gmail.com;
public static string MailerUsername =nano@gmail.com;
public static string MailerPassword = sdacvadfe;
 
Share this answer
 

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