J
JT
I have 200 records in my table (ContactName, ShippedDate and ContactEmail
columns) and I have one report Letter.
Base on my records I need to send 200 emails separately with attached report
(in pdf format) and send “TO:†would be whatever in my ContactEmail column.
I know how to send one at the time. How to send 200 emails without clicking
200 times to send button?
DoCmd.SendObject acReport, stDocName, acFormatSNP, strTo, strCC, ,
strSubject, strMsg, True
When I set from True to False. I don’t see any more MS Outlook everytime I
try to send but I get for each email MS Outlook message:
Microsoft Office Outlook ‘A program is trying to send email on your behalf.
Do you want to allow this? If this is unexpected, it may be a virus and you
should choose “Noâ€. ‘
So I need click 200 times ‘Yes’, which is same thing.
How to send 200 emails without clicking 200 times to send button?
columns) and I have one report Letter.
Base on my records I need to send 200 emails separately with attached report
(in pdf format) and send “TO:†would be whatever in my ContactEmail column.
I know how to send one at the time. How to send 200 emails without clicking
200 times to send button?
DoCmd.SendObject acReport, stDocName, acFormatSNP, strTo, strCC, ,
strSubject, strMsg, True
When I set from True to False. I don’t see any more MS Outlook everytime I
try to send but I get for each email MS Outlook message:
Microsoft Office Outlook ‘A program is trying to send email on your behalf.
Do you want to allow this? If this is unexpected, it may be a virus and you
should choose “Noâ€. ‘
So I need click 200 times ‘Yes’, which is same thing.
How to send 200 emails without clicking 200 times to send button?