Click here to Skip to main content
12,254,393 members (66,420 online)
Click here to Skip to main content

Tagged as



sending email using localhost

, 24 Dec 2012 CPOL
Assuming your users can type, all you have to do is execute the line:toAddress = new MailAddress(myTextbox.Text);before you create the new MailMessage.[edit]Typo - forgot to change fixed string to use textbox content.[/edit]



Compare Revision Minor Date Status Editor
2 - publicly available No 25-Dec-12 3:15 Available OriginalGriff
Updates in content. 76 changes had been made.
1 No 24-Dec-12 15:05 Available OriginalGriff


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Wales Wales
Born at an early age, he grew older. At the same time, his hair grew longer, and was tied up behind his head.
Has problems spelling the word "the".
Invented the portable cat-flap.
Currently, has not died yet. Or has he?

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160426.1 | Last Updated 25 Dec 2012
Article Copyright 2012 by OriginalGriff
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid