Hi,
I am a beginning Access programmer and I'm having a little problem getting Access to send email.
I have had success with the following line--
DoCmd.SendObject SendNoObject, , , "jmp@yadayada.com", , , "EMAIL from blah blah", "my message"
This line opens outlook, adds the address & subject and adds my message to the text area.
All I want to do now is change the recipient FROM> jmp@yadayada.com TO> the results from a Query called QRYEmail which has 50 email addreses in the first column called Email
I looked through the various FAQs, did some searching, tried using the suggested code but I can't get the various suggestions to work.
eventually I will expand from 50 email addresses to some unknown number, but for now, I think the answer to this question will be enough....
I assume this is an easy question for the many experts in this Forum
Thanks,
jmp
I am a beginning Access programmer and I'm having a little problem getting Access to send email.
I have had success with the following line--
DoCmd.SendObject SendNoObject, , , "jmp@yadayada.com", , , "EMAIL from blah blah", "my message"
This line opens outlook, adds the address & subject and adds my message to the text area.
All I want to do now is change the recipient FROM> jmp@yadayada.com TO> the results from a Query called QRYEmail which has 50 email addreses in the first column called Email
I looked through the various FAQs, did some searching, tried using the suggested code but I can't get the various suggestions to work.
eventually I will expand from 50 email addresses to some unknown number, but for now, I think the answer to this question will be enough....
I assume this is an easy question for the many experts in this Forum
Thanks,
jmp