Results 1 to 5 of 5
  1. #1
    Glenley is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    91

    Include Outlook signature when sending reports from Access


    I'm trying to figure out how to include my custom Outlook signature in emails when sending reports directly from Access. The info we sometimes send falls under HIPAA guidelines and we have confidentiality statements in our email signatures but when sending directly from Access it doesn't include the signature. I'm not using any automated emailing or any VBA whatsoever concerning the emails. I'm simply emailing reports as a PDF document

  2. #2
    Gicu's Avatar
    Gicu is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    So is it solved or are you still looking for help with this? How do you
    simply emailing reports as a PDF document
    ? Using a macro or Docmd.SendObject (I guess a macro as you mention not using VBA)? I'm afraid that without VBA you will not be able to accomplish that, but with VBA should be very easy. Usually all it takes is to use Outlook automation to create the message, attach the PDF (you need to use Docmd.OutputTo first to save it as a PDF somewhere) and use .BodyHtml for the message body which should include the signature. There are many threads in the various forums on this:
    https://stackoverflow.com/questions/...ure-in-outlook
    https://www.tek-tips.com/viewthread.cfm?qid=1774207
    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  3. #3
    Glenley is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    91
    My bad, I kind of found a solution but it was so simple I'm a little embarrassed that I had to ask. You simply have to manually insert your signature when your Outlook compose emaill window pops up. I'd still like to know how to have it do that automatically. I've noticed that a ton of people have asked this same question all over the web and every solution I've found has involved VBA. I have no problem using VBA but this isn't a situation where I'm using a command button or anything, just using the email command on the ribbon

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,944
    If you use automation, then displaying the email initially inserts your signature I believe?

    I actually split the email template, between header and signature, inserted my html code and then concatenated it all back, as I did not want to have to display all emails and press send.

    However automation is required to do that.

    Edit: I seem to recall that any images in the signature did not work, but that was not a problem in my case.
    Last edited by Welshgasman; 03-27-2022 at 03:29 PM.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #5
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,803
    I have no problem using VBA but this isn't a situation where I'm using a command button or anything,
    If you can do this from a form, should not be hard to run code. If you like the ribbon action, you could customize your ribbon to run your own procedure, or perhaps a custom context menu (right click menu).
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Sending Email from Access using Outlook
    By dccjr3927 in forum Programming
    Replies: 3
    Last Post: 06-26-2019, 12:16 PM
  2. Replies: 7
    Last Post: 12-12-2018, 03:06 PM
  3. Sending a value from Access to Outlook email
    By George in forum Import/Export Data
    Replies: 8
    Last Post: 09-03-2018, 02:53 AM
  4. Code to include Outlook Signature in Email from Access
    By floyd in forum Code Repository
    Replies: 0
    Last Post: 11-27-2013, 08:52 AM
  5. Replies: 7
    Last Post: 11-27-2013, 08:37 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