|
-
Mar 1st, 2011, 02:30 PM
#6
Re: Send mail to a email that has been entered in a text box
If you look at the documentation, you'll see there's two overloads. One takes a MailMessage parameter, the other takes four strings. If you provide any other combination of parameters, VB .NET doesn't have a method to call and will complain.
You're trying to use the one that takes four strings. You're providing five strings and an empty argument. That's not going to work. stanav is trying to tell you this. There can't be something missing in your blank space because there is no Send() that takes five parameters. stanav's suggestion is correct.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|