notification emails >> html filter

Posts: 28
Joined: 10/25/2007

was wondering if anyone else is having a problem with ubercart notfication emails. they're being sent with the html unfiltered.

i've got the smtp, mime mail modules installed, but they work fine with the simplenews module.

is there a config setting or something i'm missing? thanks!

Posts: 4686
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I'm not sure what you mean by unfiltered here...

Posts: 28
Joined: 10/25/2007

sorry, i'm likely using the wrong term... but when the drupal input format is "filtered html" certain html tags input by the user are interpreted rather than echoed to standard output.

so even though the intput format for the store emails are "full html" the html show up in the emails anyway

Posts: 102
Joined: 08/08/2007
Getting busy with the Ubercode.Internationalizationizer

i wonder if it's related to this problem:
http://www.ubercart.org/forum/support/709/special_characters_notificatio...

are you testing with a hotmail or yahoo mail email address? do you notice a difference in output with a yahoo/hotmail address and other popmail accounts?

Posts: 173
Joined: 08/13/2007
Cool profile pic award.Getting busy with the Ubercode.Internationalizationizer

I guess Megg is right here. Did you translate notification messages or altered them via the textarea Ubercarts provides for it?

Something messes up formatting and HTML code is sent in plain text without rendering the mail to HTML format. The latter doesn't surprise me, because Ubercart seems to handle only plaintext format for notification messages?

Posts: 28
Joined: 10/25/2007

yah, it's not a character issue. the html tags get output for some reason. none of the other drupal mods do this. the first few lines of an order email for your viewing pleasure =)

<table width="95%" border="0" cellspacing="0" cellpadding="1" align="center" bgcolor="#006699" style="font-family: verdana, arial, helvetica; font-size: small;">
  <tr>
    <td>
      <table width="100%" border="0" cellspacing="0" cellpadding="5" align="center" bgcolor="#FFFFFF" style="font-family: verdana, arial, helvetica; font-size: small;">
                <tr valign="top">
          <td>
            <table width="100%" style="font-family: verdana, arial, helvetica; font-size: small;">
              <tr>
                <td>

i'm using the store email defaults. the html formatting code gets output regardless of the type of email account (pop3|http)

Posts: 173
Joined: 08/13/2007
Cool profile pic award.Getting busy with the Ubercode.Internationalizationizer

My client figured out plain (not ) worked, even seems to work without being showed as plaintext.

hmmm...

Posts: 173
Joined: 08/13/2007
Cool profile pic award.Getting busy with the Ubercode.Internationalizationizer

My client figured out plain <br> (not <br />) worked, even <u></u> seems to work without being showed as plaintext.

hmmm...

Posts: 98
Joined: 08/08/2007
Getting busy with the Ubercode.Not Kulvik

we're seeing the same problem., using SMTP here.. I wonder if one of the additional drupal modules are causing the HTML formatted e-mail to be sent out incorrectly?

Posts: 13
Joined: 01/20/2008

I was having a similar problem with my customer notifications. All I would get is plain text. All the html would be stripped out. Checking the Message source showed me some messed up MIME headers.

I'm also using MIME mail with Simplenews. I tried unchecking "Use MIME mail for all messages." @ admin/settings/mimemail
and all is right with the world again.

There's some sort of incompatability with this module and Ubercart notifications.

My newsletter still seem to be working so it's "fixed" enough for me at the moment. I'm sure there's a more complete solution a PHP / Ubercart master can write. I'm not quite that masterful yet.

Hope this helps others.

--

"I've had this birthmark since I was born." --JB

Posts: 1
Joined: 06/18/2008

The latest version of SMTP module (as of 6/17/08) seems to have fixed this for me.