Results 1 to 5 of 5
  1. #1
    imintrouble is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Location
    Missouri, where frownin's a sport
    Posts
    127

    Automated E-mail

    Hello Access Forums!



    I have the need to let my query which keeps track of the day a package was sent, to send an e-mail to people's e-mail accounts a specified number of days AFTER the day which the package was originally sent. This can be referred to as a follow-up e-mail.

    First I'd like to know if this is possible. If so, please inform me on how to proceed. If not, well now I know.

    Best,

    Imintrouble

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    Access is 'event driven' meaning that it expects a user in front of the screen doing stuff. It isn't an exe running in the background that is going to auto send emails to anyone.

    So what you want first is a query/report - that is going to each day give you a list of shipments that are X days old, and the emails of those. And you run that list each day.

    As to the email; while it can be automated from Access upon running the list or otherwise triggered by the database user - - if you are not comfortable with code it is really quite simple to just copy the column of emails from a query and paste it into the TO or BCC field of your email system.

    Hope it helps a little.

  3. #3
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    I would agree with NTC's "event driven" comments, but you can create a db that does a process like that when it opens and then it closes itself. Then you run that db from Windows Scheduled Tasks on the appropriate schedule. That would be one way to fire off any necessary emails each morning.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    imintrouble is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Location
    Missouri, where frownin's a sport
    Posts
    127
    Thanks both. This was just something I thought I might like to happen to keep the work load off of myself. But I suppose it won't be so bad having to get each address in there manually. Thanks again!

  5. #5
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    As long as the addresses are in the data, you shouldn't have to do anything manually. Here's a start:

    http://www.granite.ab.ca/access/email/recordsetloop.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Automated Emailing
    By Dale in forum Access
    Replies: 30
    Last Post: 11-19-2011, 03:56 AM
  2. Replies: 11
    Last Post: 09-12-2011, 11:30 AM
  3. Automated Mail Merge
    By celinae in forum Programming
    Replies: 1
    Last Post: 09-20-2010, 09:57 AM
  4. Automated import
    By salisbut in forum Import/Export Data
    Replies: 2
    Last Post: 07-16-2010, 12:56 PM
  5. Automated many Rpts from one??
    By techexpressinc in forum Reports
    Replies: 0
    Last Post: 07-21-2009, 08:20 AM

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