Hi, I have been using HTMLEmail with mailmime (as suggested in your documentation). I really like your module and would like to use it with simplenews (its hard to find decent Dr7 modules that work). I have used the html--html.tpl.php file with the addition of a header :

<img style="float:left" src="http://www.mysite/sites/default/files/lsc3.jpg" width="150" alt="" border="0">

I have placed some text and an image in the body.

When I receive the e-mail (Outlook 2003 and Gmail), the code above is not converted (and doesn't display) but the body image is converted to src="cid:******". The inline image displays but the image above does not. Incidentally I had the same problem previously with I tried simply sending to mimemail (without HTMLmail). I would prefer to use HTML mail, though.

Thanks in advance for your assistance.

Comments

pillarsdotnet’s picture

Assigned: Unassigned » pillarsdotnet

noted.

vegantriathlete’s picture

I don't know if my issue is related to this one, but I'll include the information here.

I am using Amazon Web Services (and SES).
I am using Google Apps for my email client.
HTML Mail 7.x-2.65
Mail MIME 7.x-2.17
Mail System 7.x-2.34
Pathologic 7.x-2.10
SMTP Authentication Support 7.x-1.0

First off, I have tested with and without Pathologic enabled on the Post-filtering and get the same issue. I've even tested with the Post-filtering set to Unfiltered and gotten the same issue. So, I'm confident it is NOT an issue with Pathologic.

For purposes of the illustration, let's say that my EC2 instance on AWS is accessible at http://aws.mydomain.com and that the "other" server I am referencing is http://notaws.mydomain.com.

In my email template if I reference an image as such:<img src="http://aws.mydomain.com/sites/default/files/myimage.png"> when I "View original" I see that it has been converted to <img src="cid:......">. Similarly, if I create an anchor as such:<a href="http://aws.mydomain.com/sites/default/files/test.txt">Test a download file</a> when I "View original" I see it has been converted to <a href="cid:......">Test a download file</a>. If I look at the non-HTML version that MIME mail generates and look at what it uses for the anchor of the test file download, it is correct.

If I reference an image as such:<img src="http://notaws.mydomain.com/sites/default/files/myimage.png"> the image displays fine. Also, if I create an anchor as such:<a href="http://notaws.mydomain.com/sites/default/files/test.txt">Test a download file</a> the link is active, and when clicked shows the contents of the file.

To test this further, I also played with the email template on the http://notaws.mydomain.com server. It pulls images and files just fine from http://notaws.mydomain.com as well as http://aws.mydomain.com. Nothing gets converted to the cid:...... The "notaws" server is Drupal 6, though.

Finally, what I also see in the email body is text like boundary="=_c3da5e8937d8d4539bed8a5285a06449" --=_c3da5e8937d8d4539bed8a5285a06449 Content-Transfer-Encoding: 8bit Content-Type: text/html; charset=UTF-8

I don't know if this is actually an issue with HTML Mail or if it is something that AWS is doing when I am using SMTP Authentication to connect to SES.

vegantriathlete’s picture

Update: When I disable Mail MIME everything works fine.

hmdnawaz’s picture

Issue summary: View changes

Same issue here. I did not install the Mail MIME but I'm facing the same issue.

salvis’s picture

Status: Active » Closed (outdated)