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

Version:5.x-2.5» 6.x-1.x-dev

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

Status:active» needs work

I think something like that should be added to the module. Or is there any reason not to do that?

#3

Status:needs work» needs review

Perhaps this will do it...

AttachmentSize
mass_contact-574482_3.patch 678 bytes

#4

thanks i'll try

#5

#3 Seems to work quite OK for me.

#6

Category:bug report» feature request
Status:needs review» needs work

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.

nobody click here