If the emails are seperated with mixing commas and semicolons, you can use
String.Replace() to unify the seperator character first, then use
String.Split() to split it into a string array.
For example:
Dim s As String = TextBox1.Text
Dim addresses() As String
s = s.Replace(",", ";") 'Replace all "," with ";"
addresses = s.Split(";")
Now you can just loop through the addresses to get each address.
Hope this helps,
VHD50.
"TCB" wrote:
How can I separate multiple email addresses entered in a single textbox so I
can send email in ASP.NET 2.0, the email addresses are separated by (,) or
(;)
Thanks