[AccessD] Attaching a file to an email

Mitsules, Mark S. (Newport News) Mark.Mitsules at ngc.com
Tue May 18 11:19:45 CDT 2004


According to Peter's Software (http://www.peterssoftware.com/c_emfa.htm):

"To include an attachment with your e-mail, you need to use automation and
MS Outlook (http://www.peterssoftware.com/c_som.txt) or some other
third-party e-mail software because the SendObject method doesn't have the
ability to include an attached file.

A subroutine (http://www.peterssoftware.com/c_som.txt) you can use to send
an e-mail message with an attachment through MS Outlook is here
(http://www.peterssoftware.com/c_som.txt). Please note that a reference to
Outlook is required."



Mark


-----Original Message-----
From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] 
Sent: Tuesday, May 18, 2004 11:44 AM
To: AccessD at databaseadvisors.com
Subject: [AccessD] Attaching a file to an email


Dear List:

I would like to export a couple of text files from an app and hook them to
an email, though code.  I'm using DoCmd.SendObject because it looks like
it's independent of the mail client onthe user's machine.  

But is there a way to attach a file to the email which is generated by
DoCmd.SendObject?

MTIA

Rocky Smolin
Beach Access Software
http://www.e-z-mrp.com

-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list