Home Products Downloads News Store Support

HTML message with pictures | MaxBulk Mailer ▸ Frequently Asked Questions

HTML message with pictures

MaxBulk Mailer ▸ Frequently Asked Questions

Compatible with MS Windows Compatible with MacOS


How do I get my HTML message to display pictures?

In order to send a message in HTML format with online pictures you must have those pictures available somewhere on the Internet, usually a folder on your website. In our case we have a directory at maxprog.com where we store all our pictures.

For referencing your pictures inside your HTML code you have the choice between using a 'base href' header tag and the relative address of your pictures or just using absolute addresses everywhere. Remember that an absolute address (or URL) is the one that includes all the information about the location of the file it references including the protocol (http:// or https://), the full domain name (www.mydomain.com) and the file path. For example www.maxprog.com/pictures/mail.gif is an absolute address. An example of a relative address could be 'pictures/mail.gif' or '../pictures/mail.gif'. To make things clear, an absolute address is the one you could perfectly use in your browser to access a file. A relative address will never work on a browser since half the address is missing! An absolute address always works, a relative address will only work if you have added a 'base href' tag to the HTML code header part. Be careful, an address without the protocol (http:// or https://) like 'www.maxprog.com/pictures/mail.gif' will never work!

So if your HTML code uses relative addresses to reference your pictures and you are too lazy to convert them into absolutes you can use a 'base href' tag in the header part of your HTML code. This is easy to do but it has a great drawback, it will not work everywhere, especially given webmail systems like hotmail will simply ignore that tag and none of your pictures will get displayed. To add that tag just locate the head part of your code, it is the text between the <head> and the </head> tags. Just add your 'base href' tag line this way: <base href="http://www.myweb.com/">

Then to reference a "picture" named picture1.jpg from folder "pictures" into your HTML code, the code would be <img src="pictures/picture1.jpg"> You got it, when rendering the HTML code the recipient software will add the 'base href' address to the picture address. This is why such addresses are called 'relative', they are relative to the base address, in this case the address set by the 'base href' tag. If you try to preview your document locally, it works perfect. If you send your message the recipient will simply get 'picture1' from: http://www.myweb.com/pictures/picture1.jpg well, but not with Hotmail.

As said before this method, despite being easy-to-use and straightforward has a great drawback, it will fail in webmail systems like Hotmail. Indeed Hotmail will simply ignore the 'base href' tag and none of your pictures will get displayed. In such case the only alternative is to use absolute addresses everywhere in your code, that is, addresses fully referencing your pictures on your site. For example if your HTML code contains the reference <img src="pictures/picture1.jpg"> you have to complete it with the protocol and the full domain name: <img src="http://www.myweb.com/pictures/picture1.jpg">. Now you can be sure every single recipient in your list will be able to see your picture. It is a bit more work since you have to check all addresses one by one but the result is well worth the trouble.

My recommendation, don't be lazy and make all your addresses absolutes!

Written by Stan Busk
for Maxprog, LLC




Recent questions from our MaxBulk Mailer users
  451 Error code Screenshot
  Problem sending email to Gmail recipients Screenshot
  What is the meaning of the recipient panel icons Screenshot
  What is the best mail server I can use with MaxBulk Mailer Screenshot
  How can I export my lists to a new computer Screenshot
  How to send a HTML email Screenshot
  How to hide text in my message Screenshot
  Google ending support for less secure apps YouTube Video
  How to add social networks icons to my message Screenshot
  How do I set up an unsubscribe link Screenshot
  How to export several lists into to a single file Screenshot
  What are the Zoho mail settings for MaxBulk Mailer? Screenshot
  Emails sent but not received Screenshot
  HTML Email is received empty Screenshot
  How to use an alternative text when a tag value is empty Screenshot

MaxBulk Mailer is a full-featured and easy-to-use bulk mailer and mail-merge software for macOS and Windows that allows you to send out customized press releases, prices lists, newsletters and any kind of text or HTML documents to your customers or contacts.

MaxBulk Mailer is fast, fully customizable and very easy to use. MaxBulk Mailer handles plain text, HTML and rich text documents and gives full support for attachments. With MaxBulk Mailer you will create, manage and send your own powerful, personalized marketing message to your customers and potential customers.

Thanks to its advanced mail-merge and conditional functions you can send highly customized messages and get the best results of your campaigns. You also have support for international characters, a straightforward account manager with support for all type of authentication schemes including SSL, a complete and versatile list manager, support for importation from a wide range of sources including from remote mySQL and postgreSQL databases.

MaxBulk Mailer is a software tool that you purchase once, no need to pay on a per-email basis to submission services!

▾ Last videos, Online events and Q&A Sessions ▾
▾ Last customer reviews ▾

🔐 Secured by Sectigo SSL | UptimeRobot - Site Loaded properly