This module looks promising but suprisingly it doesn't have CC, BCC and Attachments which are common features in emailing. Without the said, this module is not usable at this point of time.

I used Rules module extensively in D7 but sadly the creator seems to have left Drupal leaving all his modules stuck in further development

Comments

paulwdru created an issue. See original summary.

lexsoft00’s picture

Hi @paulwdru,

You can easily send to multiple emails if needed (For multiple recipients, use semicolon(;)). It can be a workaround.

You if want CC you will need to extend the SendEmail Action in a custom module.

paulwdru’s picture

Hi Lexsoft,

The persons put in CC column mean that the email is for their reference only whereas BCC serves as a reference for the sender that an email with the content has been successfully sent out. This module looks very well-planned with flowcharts and etc but surprisingly the said basic email features were omitted as well as Attachment.

I'll stick with Rules module until this module becomes usable without requiring custom modules for such basic emailing features otherwise defeats the purpose of using it. Thanks

lexsoft00’s picture

Hi @paulwdru,

Adding CC and BCC is not a big problem. I will see if time permits to provide you with a patch for the requested features.

Attachment are not natively supported by Drupal. You will need to use an extra module called swiftmailer to achieve this functionality.

lexsoft00’s picture

StatusFileSize
new3.7 KB
patch -p1 < send-email-add-cc-bcc-3086090-5.patch
patching file config/schema/business_rules_action.schema.yml
patching file src/Plugin/BusinessRulesAction/SendEmail.php
lexsoft00’s picture

Status: Active » Needs review
lexsoft00’s picture

StatusFileSize
new3.22 KB

Minor correction.

loziju’s picture

Version: 8.x-1.0-beta8 » 2.x-dev
StatusFileSize
new3.19 KB

Rerolled for 2.0.0-beta1.

No interdiff as structure is a bit different.

hodba’s picture

StatusFileSize
new3.22 KB

Rerolled for 3.0@beta and adding a fix error "Error sending email: Email "" does not comply with addr-spec of RFC 2822." when CC or BCC fields are empty.
Tested with Drupal 10.

rcodina’s picture

Version: 2.x-dev » 3.x-dev