ASP.Net and SMTP together?

machoe

New member
Hi,

I am making a program with ASP.Net and the last thing I want to do is to be able to send emails through my website by using my local host.

I have installed IIS together with SMTP but I cannot find out how to send an email to my gmail account.

Is it possible please?

This is part of the code:
SmtpClient client = new SmtpClient("smtp.gmail.com");

Is this correct? If there is a tutorial please provide me the link. Thanks
 
Back
Top