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.
chantalcookwareAsked:
Who is Participating?
 
GaryConnect With a Mentor Commented:
Then the image must be using http and not https.
Are we talking about emails or webpages here?
0
 
Scott Fell, EE MVEConnect With a Mentor Developer & EE ModeratorCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.