Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

Send HTML Email With Secure Content

Hello.
I am sending HTML emails with images sourced from my ftp server. When the emails are opened, users may be prompted with "do you want to view only the webpage content that was delivered securely". If click Yes, then the image does not display. What can I change to allow the image to display properly?
Thank you.
0
chantalcookware
Asked:
chantalcookware
2 Solutions
 
GaryCommented:
Then the image must be using http and not https.
Are we talking about emails or webpages here?
0
 
Scott Fell, EE MVEDeveloperCommented:
You probably do not have the images referenced properly.  A common mistake in html email is using relative links to images and files.  If you have code like <img src="../images/myimage.jpg"> that will work on your webserver, but the email does not know where that is.  Make sure your links are full like <img src="https://www.mydomain.com/images/myimage.jpg">
0
 
AlexPaceCommented:
If you use a "protocol relative" URL then you don't have to know in advance if the file is downloaded with SSL.  Where you have something like this:
<img src="http://www.myserver.com/images/logo.gif">
Try without the protocol specifier like this instead:
<img src="//www.myserver.com/images/logo.gif">


ps: I'm assuming the mention of the FTP server is not relevant and that your email doesn't have something like this:
<img src="ftp://user:password@ftp.myserver.com//images/logo.gif">
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now