Results 1 to 2 of 2
  1. #1
    accesslg is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2019
    Posts
    1

    Question Automatically sending emails using templates

    Hi everyone,



    First time posting so apologise in advance if I say/do anything wrong.

    On a daily basis I have a database that produces a list of excel spreadsheets for a list of clients. These spreadsheets are saved into a daily folder containing client specific information and are manually sent via email through set email templates located in another folder.

    In one folder I have the excel documents.. eg..
    Client 1.xls
    Client 2.xls
    Client 3.xls

    In the other folder I have the email templates.. eg..
    Client 1 email template.msg
    Client 2 email template.msg
    Client 3 email template.msg

    Currently I have to drag and drop the appropriate excel doc to the appropriate email template and send via outlook.

    My question: is there a way where I can automatically link the spreadsheet to the correct template and send the email automatically through a click of a button? This is a daily task so would save a tonne of time and effort and also prevent any risks of sending the wrong file to the wrong client.

    Hope the above makes sense.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,919
    Yes, sending emails can be automated. This is a common topic. However, not sure how an email template would be used. Maybe a clue in https://social.msdn.microsoft.com/Fo...rom-access-vba

    Do you want the Excel file as an attachment or embedded in email body?
    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. sending emails using VBA
    By StuartR in forum Access
    Replies: 4
    Last Post: 02-19-2018, 04:56 AM
  2. Sending emails using Office 365
    By aytee111 in forum Programming
    Replies: 4
    Last Post: 11-17-2015, 09:14 AM
  3. sending multiple emails wth vba
    By baronqueefington in forum Programming
    Replies: 2
    Last Post: 02-09-2015, 02:49 PM
  4. Sending multiple emails
    By Sephaerius in forum Database Design
    Replies: 4
    Last Post: 08-08-2013, 11:55 AM
  5. Sending multiple emails
    By Petefured in forum Programming
    Replies: 0
    Last Post: 05-24-2011, 03:40 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