How to email attached files

E

ericb

I need to send an email with attached files (not the data type). Within
access I would like to send an email with 2 or 3 extra files.

I am unable to send extra files with the DoCmd.SendObject function.

Those somebody have a suggestion.

Thank you
 
B

bekkai lbarkani

ericb said:
I need to send an email with attached files (not the data type). Within
access I would like to send an email with 2 or 3 extra files.

I am unable to send extra files with the DoCmd.SendObject function.

Those somebody have a suggestion.

Thank you
 
M

Marco Pagliero

I need to send an email with attached files (not the data type). Within
access I would like to send an email with 2 or 3 extra files.

I am unable to send extra files with the  DoCmd.SendObject function.
Yes, sendObject cannot do that.
Automation is the way, here how to do this (third and fourth
message).
http://www.tek-tips.com/viewthread.cfm?qid=1041461&page=5

You notice that you can execute several
..Attachments.Add "c:\something.txt"
inside a loop, one for every attachment.
If you write
..Send
instead of
..Display
it sends the mail directly.

Greetings
Marco P
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top