Closed (fixed)
Project:
Mass Contact
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2007 at 21:11 UTC
Updated:
2 Aug 2008 at 03:24 UTC
I get the following error message when I attempt to send a mass contact:
cid = "1"
1 errors encountered sending message. Please check the logs and try again.
I checked the logs and I don't seen anything.
Comments
Comment #1
oadaeh commentedThat 'cid = "1"' line is a mistake. I put that in for debugging, and forgot to take it out before release. I will be looking at the other part in the next few days.
Comment #2
oadaeh commentedThat error is from the SMTP Auth module. There's a patch or two for modifying the output that module produces. Maybe that will help solve the problem.
Comment #3
Stephen Rockwell commenteddoes that mean smtp auth module necessary for mass contact?
Comment #4
oadaeh commentedNo, the SMTP Auth. module is NOT needed in order for the Mass Contact module to work. In fact, the more I deal with the SMTP Auth. module, the more likely I am to say you should NOT use it. I realize some people need it because of their hosting situation and don't need Mass Contact in the same way. However, SMTP Auth. has several bugs and no one is taking care of them.
Comment #5
Stephen Rockwell commentedok...i'm not using the smtp auth module so i'm wondering why that's not working.
s
Comment #6
oadaeh commentedOkay. My mistake. I assumed because of the error that you were using the SMTP Auth. module.
It's really odd that you are getting that message and you have nothing in /admin/logs/watchdog. There should be something there to give a clue as to what is going wrong. Basically, that part of the code is simply retrieving a pass/fail condition from Drupal and reporting that state. Any error message will actually be coming from Drupal.
Can you successfully send a message using the core Contact module?
Comment #7
Stephen Rockwell commentedyes contact works just fine.
Comment #8
kriskd commentedI'm getting the same error when I try to send to all authenticated users, but when I try to send it to a smaller group of users defined by a role, it works just fine. It makes me think that there must be something wrong with one of my users preventing the message from going to all authenticated users. Any idea what I might try looking for? Or is there a limit as to how many users you can send an e-mail to via mass mail? I have 117 registered users.
Comment #9
Dave Nichols commentedI'm getting the same message. On digging around in mass_contact.module I discovered 2 problems:
1 - the parameters to the
implode()function seem to be reversed (e.g in line 912).2 - in the to addresses, the text between < and > is being stripped out, so user <user@domain.com> becomes just user.
I don't know enough about PHP or Drupal to know where that is happenning, but if the lines of the form
$recipient_temp[] = $rnamea ." <". $rmaila .">";are changed to just$recipient_temp[] = $rmaila;et al, it all works fine.Comment #10
oadaeh commented@Dave Nichols: the implode function is correct. See http://us.php.net/manual/en/function.implode.php for details.
@all: I've committed the change of recipients' e-mail addresses from $rnamea ." <". $rmaila .">" to $rmaila to the head of the 2.x branch. I'll cut a new release as soon as I fix a couple of other bugs. Sorry it took so long.
@Stephen Rockwell: please let me know if your original issue is now fixed.
Comment #11
oadaeh commentedIs this problem still happening? If so, check out my reply to another person with similar problem here: http://drupal.org/node/279616#comment-913254. Go through the suggestions there and see if anything there fixes it.
Comment #12
oadaeh commentedClosing due to lack of response.
Comment #13
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.