I'm trying to create notification emails which are sent when the checkout has been completed. (Drupal Commerce module)

  • I added a rule to send the email to site owner. It works.
  • I created a new rule to send email to to the customer's billing address. I Used [commerce-order:mail] replacement pattern as suggested, but unfortunately the email fails to arrive.

What could cause this problem? I even considered add new data selectors, but couldn't find anything fitting to add.

closed as too broad by kiamlaluno Jan 15 '17 at 6:18

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • [commerce-order:mail] will use the email address that is directly attached to the order, not the "billing address". – nvahalik Mar 2 '16 at 12:44

As per one of the comments below this question (which kept showing up as a question with no answers):

It seems that for the email field an additional field was added to customer profile form. Thus obviously it couldn't be accessed.

A solution which works is to continue using the "Account information" checkout pane instead.

Credits: Gugols

Not the answer you're looking for? Browse other questions tagged or ask your own question.