G
Guest
Hi All,
I have a database (using A2000) which handles orders, invoices, etc for a
client. As well as being able to print an invoice the client also has the
option to e-mail the invoice to his customer as an attached Snapshot file.
This is done with the DoCmd.SendObject command in VBA and works fine.
However, the client now wants to be able to attach .pdf file/s to the same
e-mail, one for each product in the order which gives further information
about the product being delivered.
Since it appears it is not possible to add more files to the e-mail using
the SendObject command, I need to find some other alternative, if possible.
I did think about creating the e-mail (in Outlook 2003) using the SendObject
command and then attaching the files using Automation but that does not seem
to work and in any case the attaching code would have to come after the
e-mail has been created so that the user would not then see the extra
attached files in the Outlook window (which is what they want).
I have also considered using the MAPI active X controls to create the e-mail
within Access but I don't know of any way that the Snapshot file for the
Invoice report could be generated and then attached to the e-mail.
I could also use Automation to create the e-mail from Access but I still
have the problem of making the Snapshot file to attach to the e-mail as well
as the .pdf files.
Does anyone have any more thoughts on this. Thanks very much.
I have a database (using A2000) which handles orders, invoices, etc for a
client. As well as being able to print an invoice the client also has the
option to e-mail the invoice to his customer as an attached Snapshot file.
This is done with the DoCmd.SendObject command in VBA and works fine.
However, the client now wants to be able to attach .pdf file/s to the same
e-mail, one for each product in the order which gives further information
about the product being delivered.
Since it appears it is not possible to add more files to the e-mail using
the SendObject command, I need to find some other alternative, if possible.
I did think about creating the e-mail (in Outlook 2003) using the SendObject
command and then attaching the files using Automation but that does not seem
to work and in any case the attaching code would have to come after the
e-mail has been created so that the user would not then see the extra
attached files in the Outlook window (which is what they want).
I have also considered using the MAPI active X controls to create the e-mail
within Access but I don't know of any way that the Snapshot file for the
Invoice report could be generated and then attached to the e-mail.
I could also use Automation to create the e-mail from Access but I still
have the problem of making the Snapshot file to attach to the e-mail as well
as the .pdf files.
Does anyone have any more thoughts on this. Thanks very much.