Results 1 to 4 of 4
  1. #1
    athyeh is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    170

    Auto-Download two text files from a daily email and upload into my DB

    Hi Folks,

    Everyday I receive an automated email that contains text files attached to it, everyday I download the files into a folder on my area drive, open my Access DB, and append the records into my DB. Is there a way to automate this entire process?

    Thanks,



    Tony

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    you can retrieve information from outlook objects does the email you get every day have some sort of identifying string you can look for? Either in the subject, body or name of the attached file?

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I do a number of these, as we receive data from several vendors via email. I started with this:

    http://www.thatlldoit.com/Pages/howtosarticles.aspx

    the section on Saving an Email Attachment. Within the code that saves the attachment, I call a separate function to import the file into my db.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    athyeh is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    170
    Quote Originally Posted by rpeare View Post
    you can retrieve information from outlook objects does the email you get every day have some sort of identifying string you can look for? Either in the subject, body or name of the attached file?

    Yes, in the Subject Line: "Volume" and also the attached file names.

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

Similar Threads

  1. Need to download files to users desktop
    By jax1000rr in forum Programming
    Replies: 6
    Last Post: 02-05-2013, 09:39 PM
  2. Replies: 2
    Last Post: 10-05-2012, 01:50 PM
  3. Auto email a pdf report daily from ACCESS
    By wsm_al in forum Access
    Replies: 7
    Last Post: 10-20-2011, 09:35 AM
  4. Replies: 0
    Last Post: 08-20-2010, 09:26 AM
  5. Upload files to access 2007 through web
    By karthikcoep in forum Programming
    Replies: 0
    Last Post: 08-23-2009, 10:04 PM

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