I was reading a post about a fellow that couldn't get his email program to work. Then out of curiousity I wanted to make my own. The problem is that vb.net is hating on all of my mail commands. it says they are not defined when it looks like they are built in. and ignore at the bottom the attachment part. I copied the code from an earlier post.
Last edited by citizenstitch; May 23rd, 2005 at 03:07 PM.
try adding the reference to the references in solution explorer.
What you are doing is something different. 'Importing' is simply a way to make typing code easier. You need to right-click on the node that says 'references' and then look for 'System.Web.dll' in the list that pops up. double click it and then select 'ok'. you're all set.
hey thanks, it wasn't on that list. I had to rightclick and add item. all of those squigglies went away. hooray it works! thanks for that tidbit. how do I make a text box like this one so I can write emails in my program? also if I send from [email protected], the properties of that message still points directly to me. is there a way to mask it even better?