Results 1 to 6 of 6
  1. #1
    slimjen is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    727

    email multiple reports to multiple recipients


    All, Using access 2010. I've used code to send email to recipients. But I can not find how to send multiple reports to multiple recipients. Ex. I may have a table setup of recipients to send an email with a report attachment but all recipients may not receive the same report. Do I have to create separate module for each or can it be done in one module?? I was thinking I could do the with a case statement but could not find any examples. Thank you for your help in advance.

  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    One approach is to store those Reports in a folder outside Access and then attach as needed.

    HTH

  3. #3
    slimjen is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    727
    Ok. So do my code includes a case statement for each recipient to grab the correct file(s)? If there are about 20 or more this could quite long? Any shortcuts?

  4. #4
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    You save your Reports in whatever format you choose, then attach them to your email. Is this being done manually? If not, then this will get way tricky!
    Google for more examples:

  5. #5
    slimjen is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    727
    Ok. I get that I save the files n a folder what I need is code to loop thru n grab the file or files for that person then open up an email to send then repeat the loop to continue to the next person. I'll google to see what comes up n the mean time. Thanks

  6. #6
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383

    Browse for Files

    What you are asking is kinda complex. Maybe a canned app such as one from http://www.fmsinc.com/MicrosoftAccess/email.asp would be your answer. Anyway, if not, maybe this will get you started. It can of course be modified to suit your needs.

    Good Luck With Your Project!
    Attached Files Attached Files

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

Similar Threads

  1. Email To Using Multiple Recipients
    By burrina in forum Sample Databases
    Replies: 1
    Last Post: 10-08-2019, 12:43 PM
  2. Replies: 3
    Last Post: 09-18-2013, 09:25 AM
  3. Replies: 0
    Last Post: 12-01-2011, 01:38 PM
  4. Multiple Reports in email
    By Madmax in forum Reports
    Replies: 3
    Last Post: 09-26-2011, 11:05 AM
  5. Replies: 2
    Last Post: 08-17-2010, 10:54 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