Attach File to Email Created With SendObject

Posted on 2003-03-12
Medium Priority
Last Modified: 2008-02-20
How do you attach a file to an email created using SendObject command? File was created in an earlier "step" and has to be named with a .csv extension. Which is what's preventing me from using file attachment feature of SendObject (as far as I know, that's not an extension "supported" by SendObject).

Or if know of another way using VB code to achieve same results, I'm open to that.

Question by:fredstaley
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 11

Expert Comment

ID: 8120594
SendObject can only attach a database object (such as a table or query) you simply cannot attach a file. Period.

To send attachements with emails you will need to use Office Automation to create an Outlook object and send messages with that.
LVL 41

Accepted Solution

shanesuebsahakarn earned 1000 total points
ID: 8122061

Author Comment

ID: 8122571
Thank you VERY much!! Was EXACTLY the solution I was looking for.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question