I'd like to request a 4th option in /admin/messaging/notifications to allow one to manually specify a custom sender name and email address. I think it would be nice to have a custom global her that isn't the site default or a user's data.

Comments

liberatr’s picture

I could do very well with just an option that included the site name in the sender_name property:

--- notifications.cron.inc (saved version)
+++ (current document)
@@ -422,7 +422,7 @@
// It will be up to the sending method modules what to do with this information.
if ($sender_option) {
$sender = notifications_load_user($event->uid);
- $message['sender_name'] = $sender->name;
+ $message['sender_name'] = $sender->name .' via '. variable_get('site_name', 'Drupal');
if ($sender_option == 2) {
$message['sender_account'] = $sender;
}

KristVB’s picture

I could use this too. Currently notifications go out with full user details. I would like them to go out with @, so that the users' real emails are not exposed, but it is still possible to respond to mails by just hitting the "reply" button.
(forwarding mails to the real email addresses is handled by a Postfix mail server that uses a MySQL query to map addresses.)