I currently am sending out reminds/signup notifications to users from a generic email address something@example.com.

When the mail arrives, the "From" name is "something". I would like to be able to easily edit that "From" name in the signup settings page much like I can for the newsletter in the newsletter settings page. Instead of "something", I want something more informative in the From field - like "Website Name" Signups or "Website Automailer".

Comments

piersonr’s picture

Status: Active » Needs review

if you change the line

$from = variable_get('site_mail', 'noadmin@noadmin.com');

to

$from = 'email@example.com';

it will send emails from email@example.com. if you want to get fancy you can have the line read

$from = 'My Email <example@example.com>';

which will give you a nicely formatted email address :)

Is this worth putting into the configuration screen or is this hack adequate? If so I can revise the code to add this as a configuration variable and add a field to the signup administrative settings.

dww’s picture

Status: Needs review » Needs work

thanks for taking a stab at this. however:

a) that's not a patch. ;) see http://drupal.org/diffandpatch or http://drupal.org/patch

b) no, that hack isn't really good enough. certainly nothing i could commit to the main version of signup, of course. if you'd like to see this fixed, then yeah, you'd have to make it a setting on the admin/settings/signup page and use variable_get().

thanks,
-derek

dww’s picture

Status: Needs work » Postponed

I think the basic concept articulated in this feature request is a good one.
However, I believe the whole email functionality of this module is weird and needs rethinking.
Therefore, this is hereby postponed in favor of #290305: Split out email functionality into separate submodule(s).

duaelfr’s picture

Status: Postponed » Closed (won't fix)

This version of Signup is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.

simon georges’s picture

Status: Closed (won't fix) » Postponed

Reverting recent closing.