When we use the 'Send HTML e-mail' rules action, we do not get the status of the action. Sometimes you want to execute some additional actions after sending a mail (or when it fails).

The solution is to provide a boolean which returns the status of the drupal_mail function.

CommentFileSizeAuthor
#2 return_send_status-2796993.patch1.64 KBCauliflower
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Cauliflower created an issue. See original summary.

Cauliflower’s picture

  • sgabe committed 6fd6474 on 7.x-1.x authored by Cauliflower
    Issue #2796993 by Cauliflower: Return send status in Rules actions
    
sgabe’s picture

Title: Return send status in rules action » Return send status in Rules actions
Category: Task » Feature request
Status: Active » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.