a way to include multiple email addresses as text in asp

Thread Solved

Join Date: Oct 2006
Posts: 19
Reputation: doraima29 is an unknown quantity at this point 
Solved Threads: 0
doraima29 doraima29 is offline Offline
Newbie Poster

a way to include multiple email addresses as text in asp

 
0
  #1
Oct 30th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,080
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Solved Threads: 68
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: a way to include multiple email addresses as text in asp

 
0
  #2
Nov 1st, 2007
you need to split the string and email it with how many times it was split.
  1. Dim s As String
  2. a = Split(s, ";")
  3. For Each a in s
  4. 'email here
  5. next
Last edited by SheSaidImaPregy; Nov 1st, 2007 at 4:33 pm.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC