Is there a shorter way to include multiple email addresses as text in ASP.

I'm trying to call txtEmail from HTML file, then the strTo is a variable of txtMail.

How would I do it?

Is it possible to include multiple email addresses when I type in as:

Constr strTo = "jadem@avanquestusa.com;syoung@avanquestusa.com;more email addresses to come"

I need some help on this

you need to split the string and email it with how many times it was split.

Dim s As String
a = Split(s, ";")
For Each a in s
  'email here
next
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.