Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Mail comment not working when sending email using "Send Message with Message notify" action.
Not inserting ((( Reply ABOVE this LINE to POST a COMMENT ))) in body
Please help.
Comment | File | Size | Author |
---|---|---|---|
#3 | messagetype.png | 2.76 KB | paulwdru |
Comments
Comment #1
birchy82 CreditAttribution: birchy82 commentedJust curious if you figured this out?
Comment #2
Exploratus CreditAttribution: Exploratus commentedSame here
Comment #3
paulwdru CreditAttribution: paulwdru commentedIt works for me.
1.) Under the message type, tick the Allow users to reply via email
2.) Mailcomment only works with message types with fields to be machine-named as field_node_ref and field_comment_ref as stated in the install.txt . It's somehow hard-coded as I read through the coding.
Comment #4
maxplus CreditAttribution: maxplus commented@paulwdru
Thanks, after adding field_node_ref and field_comment_ref to my message type, this is working out for me.
=> now I also discovered the INSTALL.txt inside the mailcomment_message_notify subfolder with this content:
Comment #5
J-lock CreditAttribution: J-lock commentedI was having issues with this but I finally got it working. Just to add on to the previous posts as they pointed in the right direction.
When creating the rule what worked for me was
1. Create a rule that fires on new comment save
2. Add Action to create new entity, of type message with your message type selected.
3. Add Action to set data value, first data selector choose entity-created:field-comment-ref, hit next, on the next screen value data selector use just comment as the value.
4. Now add the action to send message with message notify and for the selector for message use entity-created.
This got everything working for me.
Comment #6
bluegeek9 CreditAttribution: bluegeek9 as a volunteer commented