Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying images with servlets in emails with Outlook 2007

Status
Not open for further replies.
Aug 21, 2003
36
0
0
US
We have a servlet that will display a barcode and we are to using it in an email. It works great in everything except Outlook 2007. The img tag reads like a gif, but the servlet serves up the appropriate image based on the name of the gif. Outlook 2007 still blocks it. I have seen other implementations that work (e.g. American Airlines barcode on eTicket emails). Does anyone know how to get around this issue?

Since these emails go out to thousands of customers, asking them to change their Outlook settings is not practical.
 
As you can see I received an overwhelming flood of responses. However, in the interest of posterity, it has been solved and here is the solution:

SOLUTION: The URL for the image servlet must be http, not https. I am not making this up - stupid Microsoft. I cannot imagine why they would block a servlet image that was from https and not http. Oh well.... Hope this helps someone else out there.

 
It is a java program that generates the servlet. I thought maybe someone had done the same and that there might be an issue with how the code was written. As you have correctly noted, the solution is not specifically a java issue, but it is one that programmers have had to work around. Maybe there was a better forum for this, but MS Office/Outlook would not have been my choice since our first assumption was a programming issue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top