Results 1 to 3 of 3
  1. #1
    Yann63 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2012
    Posts
    13

    Outlook 2013 + Access 2013 + HTML

    Hello,
    I have created a HTML page containing a picture file.
    Out of an Access database with addresses I send a mail via Outlook to all the
    recipients using the HTML page as body of the Outlook message.
    But in the Outlook message the picture doesn't show up.
    How can I fix that?
    Thanks in advance

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    How are you using the .HTML file as the body of your Email? Are you using the file as a template? I would just include the HTML within my VBA and include the picture within an IMg tag element.

    <img src="YourPicture.jpg" alt="Photo Here" height="50" width="50">

    Alternatively, you can double check the HTML within your template and make sure that the path to your picture is correct. It may be as simple as correcting the path within your file. If I recall correctly, in the past I have used href to bypass Outlook security settings. This way the photo loads from outside the LAN. Sounds counterintuitive, but I know of instances where I have done it. Just can't remember exactly why I did.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    This is a duplicate thread. Question asked and replied to in https://www.accessforums.net/program...ook-30846.html

    Why did you wait a year?

    The images will display if HTML page opened?

    Suggest you do a test where the HTML body with image is constructed directly instead of calling for an HTML page.

    .HTMLBody = "<p>This is a test</p><img src='C:\imagename.jpg'><p>End of test</p>"

    I tested that and it does work. So the issue is with the GetBoiler function or maybe just can't reference an HTML file.

    Show the code for GetBoiler function.
    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. Replies: 6
    Last Post: 10-19-2015, 06:07 PM
  2. FYI. New 2013 Access Runtime
    By rzw0wr in forum Access
    Replies: 0
    Last Post: 06-29-2013, 02:00 PM
  3. Access 2013 Database Name
    By Sparky in forum Access
    Replies: 2
    Last Post: 06-28-2013, 04:07 PM
  4. Access 2013 Web App with Sharepoint 2013
    By miguel.escobar in forum Access
    Replies: 7
    Last Post: 06-17-2013, 09:03 AM
  5. “PivotCharts” in the Access 2013
    By jamal numan in forum Access
    Replies: 6
    Last Post: 02-16-2013, 04:06 PM

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