Issue sending html email with images in php

Andrew Liu

I have two HTML templates. And I buffer them into php email using ob_start() and ob_get_clean(). However, one can be sent without any problem while another has no images in the email body. Can anyone find what the problems are? Here are the two templates:

I have tried to use absolute path for images, and tried to use img tag instead of div with background image, but they don't work.

Zhenguo Yang

How about inline image? you can convert the img into data first. http://www.websiteoptimization.com/speed/tweak/inline-images/

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related