"Send as BCC" sends as To

anomrabbit - August 19, 2007 - 18:59
Project:Mass Contact
Version:5.x-2.2
Component:User interface
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I set the mass_contact permissions so that mass e-mails are always sent as BCC.
But when I sent an e-mail, all of the users' e-mail addresses appeared in the To.

#1

John Bryan - August 23, 2007 - 22:19

Same here.

Having to restrict use of this on the website until this is fixed 8¬(

#2

oadaeh - August 24, 2007 - 06:18
Status:active» active (needs more info)

If either of you has more information on this, I'd greatly appreciate it. As it is, I have Mass Contact installed on three different sites, each with different server configurations, and none of them exhibit this behavior. This issue was brought up in conjunction with another bug, but nothing concrete was mentioned there. Maybe you can read through it and it might give you an idea that will help my find and fix this bug.

#3

dabro - August 25, 2007 - 15:56

My install is giving the same results. I have "hide bcc recipients" checked but the e-mail contains all the recipients listed. I'm using the 5.x-2.dev version. As a feature, it would also be nice to clean up the user form and hide the options they cannot change. Thanks for the module, it's a nice feature, Dave

#4

oadaeh - August 26, 2007 - 16:38

I've determined that this problem is being caused by the SMTP Authentication Support module. It never calls the function to add recipients to the BCC field, it only calls the one to add them to the To field. So, all recipients who are sent as BCC get sent as To instead. I will be looking it seeing if there is a way I can fix this, but it will most likely be by patching the SMTP module.

#5

dabro - August 26, 2007 - 17:54

I assume by "SMTP Authentication Support Module" you are referring to an add-on module, not core? I however do not have this module installed unless it is part of core. Thanks for looking into this, Dave

#6

oadaeh - August 26, 2007 - 18:28

No, it is not part of core. This is it here: http://drupal.org/project/smtp

Okay, then, how is your environment setup to send e-mail? Are you using any other mail modules? How is your mail server setup?

#7

dabro - August 26, 2007 - 19:36

I am using the default php mail() function, whatever the stock Drupal 5.2 core uses. I'm running my own shared server with a few of my sites on it. The version of PHP is 5.1.6 and SQL is 5.0.27 on fedora core. I'm using the Postfix SMTP server, set up to not require authentication on local network but requires authentication from external networks. I've never encountered any problems using the e-mail functions of Drupal. I've no mail modules installed except for "mass contact" and "extended notifictions". Hope this helps, Dave

#8

oadaeh - August 26, 2007 - 20:03

I'm not finding "extended notifications". Did you mean the Notify module: http://drupal.org/project/notify or something else?

#9

dabro - August 26, 2007 - 20:15

I'm sorry it's called "User Status Change Notifications" located here http://drupal.org/project/user_status
Dave

#10

oadaeh - August 26, 2007 - 20:58

Okay. Thanks for the update. I don't think that module would be causing the problem, since it's just using the default mechanism for sending e-mail in Drupal.

#11

jbrown - September 1, 2007 - 19:31

subscribing

#12

Boris Mann - September 6, 2007 - 20:06

Confirmed, seeing same thing. I believe the capitalization of bcc actually matters...in the process of testing.

#13

oadaeh - September 7, 2007 - 00:37

Hmm. Interesting. I await your findings. Then maybe I can reproduce and fix it. :^)

#14

jcruz - September 10, 2007 - 23:54

I am experiencing the same problem. Site hosted at mediatemple. No other mail modules installed.

#15

pnc999 - October 9, 2007 - 05:53

I have the same problem as well. No additional mail modules installed. I'm running on a Windows setup - could that be the problem?

Regards
pnc999

#16

oadaeh - October 10, 2007 - 12:18

It could be that Windows is the reason why the messages don't get sent as BCC. As I don't currently have a Windows installation to try out, I don't know if that's true or not. I also wanted to explore the idea that Boris mentioned about the case causing the problem, but I've been swamped with other things and haven't had time to do that. I will try to explore both of those as possible causes as soon as I can.

#17

jcruz - October 10, 2007 - 23:57

My site runs linux and still has the issue so not a Windows thing.

#18

oadaeh - November 3, 2007 - 01:23

Okay, I have an updated 5.x-2.x Mass Contact release that does not include SMTP Auth. module work around, and there is a patch [1] to the SMTP Auth. module by matthewc that might fix this BCC issue. Would one or more of you brave souls please try the two and see if your BCC issues go away? I've tested them together on my test system, and they seem to work fine, but I'm not experiencing the problem, so I don't know if this fixes it. Thanks.

[1] http://drupal.org/node/188624

#19

oadaeh - January 23, 2008 - 18:16

I've submitted several fixes for bugs in both the SMTP module and the Mass Contact module. I would appreciate it if someone who is able to reproduce this problem could do updates to both modules and test and let me know if the problem persists.

Here are the latest code changes for SMTP Authentication Support: http://drupal.org/node/95819
Here are the latest code changes for Mass Contact: http://drupal.org/node/160686

#20

jacres - March 17, 2008 - 17:44

I reproduced the issue in 5.x-2.4-beta

On the Mass Contact form settings page, I unchecked "Allow sender to override BCC setting" and checked "Send as BCC (hide recipients) by default". Result: All emails are sent in the TO field, incorrectly.

If I check "Allow sender to override BCC setting" all emails are sent in the BCC field, correctly.

#21

oadaeh - March 17, 2008 - 18:51

I just released a 2.4 version. Your problem should be fixed in that version.

#22

jacres - March 17, 2008 - 20:59

Thank you

My testing agrees that the 2.4 version fixes the issue noted in #20 above

#23

oadaeh - April 16, 2008 - 04:25
Status:active (needs more info)» fixed

@jacres, thank you for testing and responding.

If anyone else is still having /this/ problem, please reopen with more information.

#24

Anonymous (not verified) - April 30, 2008 - 04:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#25

n33x - July 17, 2008 - 00:53

this community is the best

 
 

Drupal is a registered trademark of Dries Buytaert.