HI
I want email ID is to be entered by the user and send email to the that person. How to write the code for that.
Thanks
Kriitka
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Aug 26, 2013, 3:02 AM
declare one textbox in your form and in button click
string toMailId = textBox1.Text;
Regards,
Iftikar
kritika RanaPosted Aug 26, 2013, 3:11 AM
Kritika
Sanjeeb LenkaPosted Aug 26, 2013, 3:00 AM
refer to this link
http://www.c-sharpcorner.com/UploadFile/deepak.sharma00/send-email-from-C-Sharp-windows-application-using-gmail-smtp/
http://www.codeproject.com/Articles/8280/Sending-Emails-from-C-Application-using-default-SM
kritika RanaPosted Aug 26, 2013, 2:58 AM
Iftikar HussainPosted Aug 26, 2013, 2:51 AM
Are you looking in Windows Application?
Regards,
Iftikar