|
-
Aug 3rd, 2000, 04:01 AM
#1
Thread Starter
Junior Member
I know how to send email from a database using vb and an email address field in the database. But does anyone have a suggestion how to send the email to all the values in the email field simultanuously?
-
Aug 3rd, 2000, 04:10 AM
#2
Hyperactive Member
Not quite sure what you mean by the last part, but if your trying to send email to more than one person you need to seperate each address with a ;. If this isn't what you mean let me know and I'll see what I can do
Thanks in advance for any help provided.
VB 6 Enterprise Edition SP4
ADO, SQL 7/2000, ASP and some JavaScript

>> Life goes on, but for how long? <<
If you can smile when things go wrong, you have someone in mind to blame
-
Aug 3rd, 2000, 04:17 AM
#3
Thread Starter
Junior Member
Yes. that is what I meant. The problem is that I might have 500 records with email addresses, and that one letter must be sent to all 500. I see what you mean by adding a ";" but how can I automate the process?
-
Aug 3rd, 2000, 04:29 AM
#4
Hyperactive Member
You would put the whole thing in a loop
table.movefirst
strEmail=table.field("???")
do until table.eof
strEmail=strEmail & ";" & table.field("???")
table.movenext
loop
Hope this make sense
Thanks in advance for any help provided.
VB 6 Enterprise Edition SP4
ADO, SQL 7/2000, ASP and some JavaScript

>> Life goes on, but for how long? <<
If you can smile when things go wrong, you have someone in mind to blame
-
Aug 3rd, 2000, 04:33 AM
#5
Thread Starter
Junior Member
Thanks Parks, I'll try it out.
-
Aug 3rd, 2000, 04:40 AM
#6
Thread Starter
Junior Member
Correction, "Parkes".
Sorry
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|