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 »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • fatal error when sending bulk email test message
Pages: [1]

Author Topic: fatal error when sending bulk email test message  (Read 2827 times)

jscheef

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
fatal error when sending bulk email test message
May 28, 2012, 03:28:16 pm
When I send a bulk mail test message I get the following:
===
Sorry. A non-recoverable error has occurred.

Failed to add recipient: myemail@yahoo.com [SMTP: Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 550, response: Verification failed for No Such User Here" Sender verify failed)]

Return to home page.
===
The outgoing email configuration page says that it is happy and test messages arrive promptly. I can send emails to merge mail recipients and those emails arrive promptly. The new Civi cron procedure

The installation runs Drupal 7.14 and CiviCRM 4.1.2 on Bluehost. Updates from 7.09 and 4.0.5 went by the book with no errors.

This has to be a configuration error somewhere. Help?

Jim

jscheef

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
Re: fatal error when sending bulk email test message
May 30, 2012, 06:13:51 pm
Help!! Where are the gurus?

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: fatal error when sending bulk email test message
May 30, 2012, 07:04:40 pm
Did this work properly when you were on 4.0.5? Wasn't clear if you were saying yes.

Second, what happens when you send a bulk mail test message to a group instead of an individual address?

Also, have you tried it using sendmail or something other than smtp in the outbound settings?

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: fatal error when sending bulk email test message
May 30, 2012, 07:06:46 pm
also your issue sounds very similar to this thread -- you might want to check it out:
http://forum.civicrm.org/index.php/topic,24242.msg102012.html#msg102012

jscheef

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
Re: fatal error when sending bulk email test message
June 01, 2012, 02:39:27 pm
Emily,

This has never worked on this installation as well as another installation on Bluehost. Both fail with the exact same error. I upgraded both Drupal and Civi to the latest releases to see if that cured the problem - it did not. There were no errors in the upgrade procedures. I just scheduled a test bulk email without doing a test message first to see what happens, but I expect it to fail.

I tried using mail() with the same failure with the same error message. I cannot get sendmail to work because it requires an argument and I have no idea what that should be. I tried yelling at it and called it names to no avail.

Bluehost says they cannot enable wildcard addresses.

The thread you referenced does sound like the same problem and I think this may be a bug in the Civi where it is trying to authenticate to SMTP using the VERP address rather than the original sender address. That is not likely to work on any hosting service. I could set up a Gmail account to collect bounce-backs if that is what works, but I'll never be able to send without authenticating.

Thanks,
Jim

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: fatal error when sending bulk email test message
June 01, 2012, 07:53:12 pm

CiviMail needs wildcard addresses to be enabled at the smtp/mail level. This is different from authentication

If your host cannot do so, u'll need to choose a different host or not use civimail

we need verp to keep track of bounces / replies / forwards etc

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jscheef

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
Re: fatal error when sending bulk email test message
June 05, 2012, 08:32:15 am
lobo,

I need more information about how CiviMail works. What is in the header of sent messages? Where is the VERP address? What is in the from address? I need to be able to explain to a support tech who has never heard of Civi why he should enable wildcard addresses and why this will not kill his server. Where is this stuff documented? The book is just basic setup info. Where's the beef?

It might be possible for me to use an Exchange server as a relay point (with authentication, of course). How would I enable wildcards on Exchange? I've administered Exchange for some time but have never heard of wildcard addresses. Using Exchange is a long shot, the information about CiviMail will be more useful to me and doubtless many more people as well.

Jim

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: fatal error when sending bulk email test message
June 05, 2012, 10:55:23 am

hey jim:

Sorry that info is not yet documented. If you are keen on documenting it, would be good if you can:

1. Read the developer book: http://book.civicrm.org/developer/ to get a rough idea of civi code / layout

2. Take a look at the code under CRM/Mailing/BAO

3. Ask questions and tip on the #civicrm irc channel

4. document your finding to benefit other folks using civi

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jscheef

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
Re: fatal error when sending bulk email test message
June 05, 2012, 12:07:43 pm
Don,

Using the thread on how to disable VERP, I was able to configure a test Gmail account for bouncebacks. The VERP/bounceback processing was the cause of the fatal error. This should be noted in the set up information ASAP. There is nothing in the setup information about VERP, how to set up a bounceback account, or how this can cause a fatal error. I have yet to test the actual bounceback processing so I have grave doubts that I have things configured properly in <mydomain.com>/civicrm/admin/mailSettings (Menu navigation: Administer|CiviMail|Mail Accounts but this is vastly better than the hard stop caused by the fatal error.

Longer term, this error should be trapped so a helpful error message can be displayed pointing the user to the actual cause of the problem. The fatal error message (see first post) is a wild goose chase as the SMTP settings were always correct.

Jim

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: fatal error when sending bulk email test message
June 05, 2012, 06:56:06 pm

Hey the wiki is community editable, so please do update the docs as needed. If you want to add some content to the book to make things more clear, you can create an issue and submit your changes as a patch. Definitely having detailed specific docs on what is needed etc is very important

Once you are up and running, would be good if you can take a look at trapping the error and improving the message

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jscheef

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
Re: fatal error when sending bulk email test message
June 06, 2012, 02:12:10 pm
Don,

Thanks for the pointers you have provided - I'm sure I will be back for more. I would love to add to the documentation if I had the time. I'm a volunteer trying to set up Drupal/CiviCRM sites for two all-volunteer organizations and I will soon start on a third. I could drop those tasks and work on the documentation, but that would not be fair to the organizations to which I am already committed. That's why I at least try to point out bugs/errors and provide as much information as I can to volunteers like you who can shepherd it thru to other volunteers who do have the time and skills to write the documentation. Such writers are the unsung heroes of open source software.

As to debugging and fixing the code, I'm not a PHP programmer. In days of yore I have been a programmer in several languages on many platforms. I'm having sufficient fun just climbing the learning curve of CiviCRM and Drupal. Learning yet another language is just not in the cards.

Jim

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • fatal error when sending bulk email test message

This forum was archived on 2017-11-26.