strTo As String = txtEmail.text is not asp, that is ASP.NET. If you are using ASP Classic (Regular ASP), then to add multiple email addresses just do it like a normal mailto thing:
Web Enhancements/Comments
is not a tag, what you are looking for is label.
Now the above code is for website use only. If you are talking abouta link to click that opens an email program, then you need the mailto: command done by a link or backend asp coding.
This is not a safe method as no guarantees how browsers will read the code. Your best bet is to do a backend asp page reading the radio button, then email within that page. If you have more questions, feel free to respond.
SheSaidImaPregy
Veteran Poster
1,080 posts since Sep 2007
Reputation Points: 43
Solved Threads: 68
Yes, but you will have to split the string and send it to each email address separatly. An example would be something like this:
Dim s As String = Request.Form("radioemail")
'radioemail is an ID that you will have to set for your entire radio list.
'You will need an id for your radiolist to prevent multiple choices.
Dim a As String = Split(s, ";")
For each a in s
'your email code here with the follow code:
Dim strTo As String = a
'now do the rest of your code
Next
SheSaidImaPregy
Veteran Poster
1,080 posts since Sep 2007
Reputation Points: 43
Solved Threads: 68