i have written a c# code that sends email on button click , and its working fine when testing it from my visual studio , but when I move it to IIS 7 its not sending the email ......
--------------------------------------------------------------------------------------------------------------------------------------------------
below is my code any help ????
protected void SendMail()
{
// Gmail Address from where you send the mail
var fromAddress = "info.company@gmail.com";
// any address where the email will be sent
var toAddress = "george.naffah@company.com";
//Password& ...
Go to the complete details ...