[AccessD] Attaching a file to an email

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


Sorry, I meant only to quote the paragraph in its entirety, not to suggest
that you use Outlook.  The relevant message being "no...you can't".



Mark



-----Original Message-----
From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] 
Sent: Tuesday, May 18, 2004 12:50 PM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Attaching a file to an email


Mark:

I've got the code in a couple of other apps where I know outlook will be
present.  I use the outlook object and it's very flexible.  Unfortunately, I
won't know that outlook is available on the target machine.

Rocky

----- Original Message ----- 
From: "Mitsules, Mark S. (Newport News)" <Mark.Mitsules at ngc.com>
To: "'Access Developers discussion and problem solving'"
<accessd at databaseadvisors.com>
Sent: Tuesday, May 18, 2004 9:19 AM
Subject: RE: [AccessD] Attaching a file to an email


> 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
> -- 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.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