Results 1 to 2 of 2
  1. #1
    lizzycole is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2013
    Posts
    6

    Send Query Results as attachment to an Outlook Message

    I am attempting to set up a query that can be run and sent as an attachment to an Outlook message. I am prepared for several steps to do this. My first thought is to export to Excel first, but if I can maintain everything in Access, I would like that better.



    Note: The query referenced here is just a shortened version of one of my tables. I did not want to set up anything more complicated if this isn't going to work.

    My Goal is to:
    1. Run the IronMountainSDL query
    2. Save the results as a .csv
    3. Attach to a mail message
    4. Send mail message to static recipient list
    5. All automatically if possible


    If you care to review my database to provide any other feedback, it would be appreciated.

    Push-Release Tracking - Copy.zip

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    See if the SendObject method meets your requirement. http://office.microsoft.com/en-us/ac...001226290.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Send email in Outlook with attachment
    By kelkan in forum Programming
    Replies: 1
    Last Post: 02-01-2013, 10:31 PM
  2. Use Query Results to send Email
    By Paul Ager in forum Programming
    Replies: 2
    Last Post: 05-05-2011, 09:57 AM
  3. Replies: 1
    Last Post: 03-09-2011, 08:54 AM
  4. Replies: 3
    Last Post: 11-10-2010, 09:52 AM
  5. Send multiple e-mails through Outlook based on query
    By dataphile in forum Programming
    Replies: 3
    Last Post: 12-30-2009, 12:04 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums