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
Do Until MailList.EOF
ToList = MailList("email" & ";"
Temp = ToList
MailList.MoveNext
Loop
MyMail.To = Temp
MyMail.Send