Programmatically sending email attachment

  • Thread starter Thread starter DJ
  • Start date Start date
D

DJ

I would like to programmatically incorporate sendinig
*.pdf attachments based on certain conditions. Has anyone
incorporated this feature using existing capabilities
within Access or will I have to work directly with MAPI.

Thanks
 
DJ said:
I would like to programmatically incorporate sendinig
*.pdf attachments based on certain conditions. Has anyone
incorporated this feature using existing capabilities
within Access or will I have to work directly with MAPI.

The only attachments you can send via the built-in SendObject method are
Access objects (forms, reports, queries, etc), and only in certain
formats. To send PDF files as attachments you'll have to either
automate the e-mail client (such as Outlook) or use MAPI. There's code
on the Access Web for this (see
http://www.mvps.org/access/modules/mdl0019.htm), or see Tony Toews'
Access Email FAQ page (http://www.granite.ab.ca/access/email.htm) for a
more comprehensive survey of techniques.
 
Back
Top