How to add custom message type and use it for my custom node type?

I created:
New content type called
Ticket (Machine name: ticket)
and
New message type called
My custom message comment for ticket (Machine name: my_custom_message_comment_ticket)

How to use this message type for send email notifications when ticket commented by user?

CommentFileSizeAuthor
#3 screen.jpg99.08 KBpetr-oa
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

petr-oa’s picture

Title: How to add custom message type ad use it for notify for my custom node type? » How to add custom message type and use it for notify for my custom node type?
petr-oa’s picture

Issue summary: View changes
petr-oa’s picture

Issue summary: View changes
FileSize
99.08 KB
ranroz’s picture

To send notifications with message_notify you can either use the rules module and with rules_ui configure the scenario for sending a message.

The other option is to take a look at the code given in message_notify_example.module which details the creation on sending of notification messages when a user comments on a node on the site.

bluegeek9’s picture

Status: Active » Closed (outdated)