Posted by j0sh on September 11, 2009 at 8:03am
| Project: | Mass Contact |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
sender name is not used in mass contact submit script
in the "from" row is used only sender email
Comments
#1
In 6.x you could change the code to the following:
<?php$from_email = ($form_state['values']['mail']) ? $form_state['values']['mail'] : variable_get('mass_contact_default_sender_email', '');
if (!empty($from_name)) $from_email = "\"=?UTF-8?Q?".imap_8bit($from_name)."?=\" <$from_email>";
?>
The last line is added.
#2
I think something like that should be added to the module. Or is there any reason not to do that?
#3
Perhaps this will do it...
#4
thanks i'll try
#5
#3 Seems to work quite OK for me.
#6
There is a known problem on Windows servers with sending e-mail addresses the form of "First Last ". I will create another setting that allows the administrator to decide whether to include it or not and then just make it so.
#7
Marked #1027378: User's "From" showing name and email? as a duplicate of this.