Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB and Send to Multiple Recips

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am trying to send to email to multiple recipients at once using vb, but this code will only send to the last email in the database, can some please fix?

Do Until MailList.EOF
ToList = MailList("email") & ";"
Temp = ToList
MailList.MoveNext
Loop
MyMail.To = Temp
MyMail.Send
 
temp = temp + tolist

try the above line in your code and see
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top