Closed (duplicate)
Project:
Mass Contact
Version:
5.x-2.4-beta
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2008 at 21:22 UTC
Updated:
22 Jan 2008 at 14:45 UTC
Hi again,
I recently updated the mass contact code on our site which had issues with it. To my deception, the problem persists.
The message I get is:
- cid = "4"
- 1 errors encountered sending message. Please check the logs and try again.
Nothing shows up in the logs.
As I said earlier, I can send an email to a single user from its contact form so it doesn't look like a strictly server-based problem but rather something in the way mass contact formats the email passed to the PHP email call. Somebosy refered to the fact that the user list passed could be user1, user2, ... instead of user1@..., user2@... This could cause problems perhaps.
Can you assist in tracing down this bug?
Thanks
Comments
Comment #1
marcbe commentedAs this user suggested:
" lsabug - January 15, 2008 - 14:04 new
I'm using mass-contact module 5.x-2.4-beta / drupal 5.5 on windows 2003 with apache 2.0
I changed lines 905 and 906 as suggested above to this:
$recipientout[] = $rmaila;
$recipient_temp[] = $rmaila;
and changed line 975 to this:
$recipientout[] = $rmaila; "
I confirm that this worked for me as well. So it seems like the user emails format is the problem. I suggest that we use the same format as the one used by the user contact form in Drupal's core code which seems to work in most if not all cases.
Thanks
Comment #2
oadaeh commentedOkay, I'll look at that and see how it's done there.
Comment #3
oadaeh commentedThis is a duplicate of http://drupal.org/node/168140 which is now fixed in the 2.x branch. I will be cutting a new release soon.