Currently the notify module uses the function notify_mail to create the $message subject and body.

The subject and body cannot be configured without altering the module.

It may be useful to be able to change the subject and body. I am not sure if there is an easy way to add such a feature.

Meanwhile, attached is a very simple patch to remove the user name from the email subject line for uses cases where it is not desired.

Having configurable emails etc is handled by the larger Notifications and Messaging modules.

CommentFileSizeAuthor
notify-remove-username-from-subject.patch673 bytesizmeez

Comments

izmeez’s picture

Title: Notify module email subject line » Notify module remove username from email subject line
Version: 6.x-1.x-dev » 6.x-1.2

Changing issue title for more clarity.

gisle’s picture

Status: Active » Closed (duplicate)

No rationale is given for why the Drupal site username should be removed from the subject line. There are probably different opinions about this, but I don't see any reason to change this.

As for configurable subject and body, this is a duplicate of #70959: Configurable notification emails.