Closed (duplicate)
Project:
Rules
Version:
7.x-2.0
Component:
Provided Module Integrations
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2011 at 16:31 UTC
Updated:
26 May 2012 at 20:25 UTC
I'm not sure if this is a commerce thing. It might be rules related or even core (though I can't imagine that would've been untested).
The case:
When you use a special character - like "é" - in the welcome email templates at admin/config/people/accounts, the order will not get processed, an email is not send and nothing is logged in watchdog.
This email is triggered by rules during the buying process. So it might be a problem there. I didn't found any related issues about this in rules or core so I thought this might be the best place to get awareness for this problem and further testing/debugging.
Comments
Comment #1
rszrama commentedYeah, let's see if fago knows anything about this, as there's nothing specific to Commerce in the e-mail action.
Comment #2
svanderwerf commentedSame behaviour here.
Special characters in the email body are converted to question marks. Special characters in the email header cause the message not to be sent. Although I do get an error message.
Coincidentally, only emails sent by a rule show this behaviour. The only rules sending mail in my config are rules added by Drupal Commerce.
In my setup emails are formatted by HTMLMail and sent through SMTP using the MIME Mail module and SMTP Authentication module. Character set: UTF-8.
Since I am using HTMLMail to format the email I was able to check what was delivered to the HTMLMail template. It seems that the text in the email body delivered to the template already has special characters formatted (so before actually formatting and sending the e-mail). When I hard code special characters in the HTMLMail template they get sent without problems.
Comment #3
mitchell commentedSee "Encode / decode html entities." in #745314: Action: transform text
Comment #4
mitchell commentedUpdated component.