Hello all
I am using smtp for sending mail.
it ask the smtp host name. that is
what is for yahoo/rediff/hotmail
is there any one for globle mail systems.
the other problem is it ask for Credentials
I have to give my gmail user name and password which I donn want to supply.
plz help me to come out thi problem.
thank you
I am using smtp for sending mail.
it ask the smtp host name. that is
Code:
smtp.Host = "smtp.gmail.com";
is there any one for globle mail systems.
the other problem is it ask for Credentials
I have to give my gmail user name and password which I donn want to supply.
Code:
smtp.Credentials = new System.Net.NetworkCredential
("yourgmailemailID@gmail.com", "yourGmailPassword");
thank you
Comment