CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail failing with 'Failed to add recipient' in V3.0.2
Pages: [1]

Author Topic: CiviMail failing with 'Failed to add recipient' in V3.0.2  (Read 2193 times)

kazbah

  • Guest
CiviMail failing with 'Failed to add recipient' in V3.0.2
January 26, 2010, 09:45:36 pm
I have an instance of CiviCRM running under Joomla where a user is sending an email to an individual contact in the system and it's failing with the error message 'Failed to add recipient'. The full error messages is as follows:
--
An error occurred when CiviCRM attempted to send an email (via SMTP). If you received this error after submitting on online contribution or event registration - the transaction was completed, but we were unable to send the email receipt.

The mail library returned the following error message:
Failed to add recipient: <email of recipient> [SMTP: recipient is not recognized (code: 554, response: 5.7.1 : Recipient address rejected: Policy Rejection- --SENDER_QUOTA_REJECTION--)]

This is probably related to a problem in your Outbound Email Settings (Administer CiviCRM » Global Settings » Outbound Email), OR the FROM email address specifically configured for your contribution page or event.
--
Some things to note:

1. When I log in as a 'Super Administrator' and repeat the exact same exercise to the same person, it works fine.
2. I have tested the outbound email settings and they work correctly.
3. I receive several unusual error messages in the weblogs which I've included below as well (scrubbed slightly):
--
[Tue Jan 26 21:33:32 2010] [error] [] PHP Notice:  Undefined index:  is_deceased in /.../joomla/administrator/components/com_civicrm/civicrm/CRM/Contact/Form/Task/EmailCommon.php on line 170, referer: http://.../joomla/administrator/index2.php?option=com_civicrm&task=civicrm/contact/view/activity&action=add&reset=1&cid=1&selectedChild=activity&atype=3
[Tue Jan 26 21:33:32 2010] [error] [] PHP Notice:  Undefined variable: statusOnHold in /.../joomla/administrator/components/com_civicrm/civicrm/CRM/Contact/Form/Task/EmailCommon.php on line 397, referer: http://.../joomla/administrator/index2.php?option=com_civicrm&task=civicrm/contact/view/activity&action=add&reset=1&cid=1&selectedChild=activity&atype=3
[Tue Jan 26 21:33:32 2010] [error] [] PHP Notice:  Undefined variable: status in /.../joomla/administrator/components/com_civicrm/civicrm/CRM/Contact/Form/Task/EmailCommon.php on line 401, referer: http://.../joomla/administrator/index2.php?option=com_civicrm&task=civicrm/contact/view/activity&action=add&reset=1&cid=1&selectedChild=activity&atype=3
--
Any body got any ideas? This just seems strange. The error states a quota problem, but I have verified that there is no issue there and I think that's just an anomaly of some kind. Thanks for any feedback!

Daniel.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviMail failing with 'Failed to add recipient' in V3.0.2
January 26, 2010, 11:03:04 pm
Daniel,

Can you upgrade to latest 3.0.4 and check if problem persist.

Kurund
Found this reply helpful? Support CiviCRM

kazbah

  • Guest
Re: CiviMail failing with 'Failed to add recipient' in V3.0.2
January 28, 2010, 11:01:57 am
Okie, I'll try that as soon as I can and post results when I'm done. Thanks!

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: CiviMail failing with 'Failed to add recipient' in V3.0.2
February 03, 2010, 02:16:05 am
Note that if you do upgrade to CiviCRM 3.0.4, you might want to overwrite your CRM/Mailing/BAO/Job.php file with the one from http://svn.civicrm.org/civicrm/branches/v3.0/CRM/Mailing/BAO/Job.php – we fixed a bug affecting many people that will make it into CiviCRM 3.0.5.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

kazbah

  • Guest
Re: CiviMail failing with 'Failed to add recipient' in V3.0.2
February 03, 2010, 07:58:20 am
I notice 3.1 is now out - I presume these fixes are in there too? If so, do you think it would be more worthwhile to proceed directly to there? I should be able to work on this the coming weekend. Thanks!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: CiviMail failing with 'Failed to add recipient' in V3.0.2
February 03, 2010, 12:07:14 pm
Yes - I would try 3.1.1 (latest stable).
However, given the error 'SENDER_QUOTA_REJECTION' - and the fact that things work with a different sender (Super Admin I assume has a different email address in their contact record and hence the FROM in the email will be different) - your problem might truly be specific to mail server / admin policies (e.g. the problem user's email address domain doesn't match the originating domain or something like that).
Protect your investment in CiviCRM by  becoming a Member!

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: CiviMail failing with 'Failed to add recipient' in V3.0.2
February 03, 2010, 10:04:55 pm
Quote from: kazbah on February 03, 2010, 07:58:20 am
I notice 3.1 is now out - I presume these fixes are in there too?

Actually, 3.1.1 has exactly the same bug as 3.0.4, but has many other bugfixes. If you go with 3.1.1, overwrite your CRM/Mailing/BAO/Job.php with the one from http://svn.civicrm.org/civicrm/branches/v3.1/CRM/Mailing/BAO/Job.php

Quote
If so, do you think it would be more worthwhile to proceed directly to there?

Yes, that’s always the better choice (if possible).
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail failing with 'Failed to add recipient' in V3.0.2

This forum was archived on 2017-11-26.