Results 1 to 3 of 3
  1. #1
    trevor40's Avatar
    trevor40 is offline Advanced db Manager
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    402

    Email picture not showing for remote users

    Hi All,
    One of my users has an issue with the images not showing in the emails he receives. The code below show that the images are located on our internal server, all users that have access to this server see the images ok. As he is not on that network outlook just shows the place holder for the image.

    Is there some way I can fix this for him, IE can I use an imbeded Image to use in place of the one on the server? or is there another way?

    email_logo = DbPath & Me.To_Company + " logo.bmp"
    myItem.HTMLBody = "<img src='" & email_logo & "'>"



    these are the only lines related to the image the rest of the htmlbody I removed for clarity.
    the DbPath is located on our internal server, To_Company is the name of each logo to be used as this is for several companies in the same building.

    regards
    Trevor

  2. #2
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    First, a comment on the code. Using a plus sign to concatenate text is unreliable and not generally practiced. You should use the ampersand to concatenate text (&). What follows is what I know from reading; confess I've never had to worry about non-native users seeing images beyond what I've manually inserted into an email.
    It is possible to embed the image in the message by first attaching it so that the html can add it "in line" using the cid: tag. However, the results will not be the same for everyone - depending on what mail client they're using. Here's a decent article on that subject, wherein I'd say the best solution may be to place the image in a public drop box.
    Your image tag would look like <img src='cid:MyLogo.jpg'" & "width='600' height='45'>
    I suppose another approach would be to use an email template that you have manually embedded the image into.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    trevor40's Avatar
    trevor40 is offline Advanced db Manager
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    402
    Thanks for the reply, I'll look into it more at work on Monday...

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

Similar Threads

  1. Replies: 3
    Last Post: 11-18-2015, 05:39 PM
  2. Add picture to my email code
    By cbrsix in forum Programming
    Replies: 3
    Last Post: 09-25-2013, 08:26 AM
  3. Multiple Users Contributing to One Record via Email
    By zga2 in forum Import/Export Data
    Replies: 3
    Last Post: 11-16-2011, 03:52 PM
  4. How to Use Remote DB
    By saravanan.baskaran in forum Access
    Replies: 0
    Last Post: 01-10-2009, 03:43 PM
  5. disconnected Remote Users?
    By Zermoth in forum Programming
    Replies: 0
    Last Post: 12-11-2008, 04:52 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