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 CiviEvent (Moderator: Yashodha Chaku) »
  • confirmation email broken
Pages: [1]

Author Topic: confirmation email broken  (Read 1112 times)

jbeiter

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: joomla 1.5
  • MySQL version: 55
  • PHP version: 46
confirmation email broken
February 11, 2011, 02:22:21 pm
getting this error:

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:
mail() returned failure

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. Possible causes are:

    * Your Sendmail path is incorrect.
    * Your Sendmail argument is incorrect.
    * The FROM Email Address configured for this feature may not be a valid sender based on your email service provider rules.
==============

I did the test with the PHP mail() and it tested ok (I received the email) I know the "FROM" address is valid. Email goes out from this site via php fine from the system and from another newsletter module.

Hate to get this far only to dump civicrm for lack of a simple email confirmation but we need the confirmation.

I tried setting it to sendmail but it requires an "argument"? What argument? I've been using sendmail for 20 years and never had an app require an argument. I thought perhaps there may be a "-s %subject %recipient" type macro in the documentation for civicrm but couldn't find anything of the sort.

the php test worked so I'm guessing something else is the problem. I do have a working from address in both the event profile and the global configuration from address.

Also, why is this complaining that it can't send it via SMTP, when I clearly have it configured for PHP mail()?

man these are some bad captcha images... :P
 
« Last Edit: February 11, 2011, 05:56:58 pm by jbeiter »

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: confirmation email broken
February 12, 2011, 05:07:59 am
Hi,

Stick with mail() if it works, really no reason to go sendmail (that's more or less the same anyway).

Enable debug, you might get a better info about what's going on. Most certainly something misconfigured somewhere.

If for the confirmation email on events, check what's the email set to send it, might be a wrong syntax on the name or something.
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

jbeiter

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: joomla 1.5
  • MySQL version: 55
  • PHP version: 46
Re: confirmation email broken
February 12, 2011, 07:02:10 am
Thank you for the reply but I'm still stumped. I tried putting quotes around the NAME (this is in the event configuration)... tried adding < > around the address. Eliminated the ccs,bccs..  I tried turning debug on but it doesn't add anything to the error that I posted in the first post in this thread.

I don't understand why the test would work fine in the global settings for outgoing mail but fail here. This is really frustrating.

The hosting provider is Godaddy.com.. are there perhaps any known issues with CiviCRM and this ISP? (by far the most problematic provider I've dealt with)

I have a ticket in with them to verify what I should use for SMTP settings to see if perhaps that route might get me past this confirmation email problem.

jbeiter

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: joomla 1.5
  • MySQL version: 55
  • PHP version: 46
Re: confirmation email broken
February 12, 2011, 09:19:44 am
verified smtp settings with godaddy, using this and testing it just yields a "You have chosen to open index2.php" popup error.

« Last Edit: February 13, 2011, 05:34:00 am by jbeiter »

jbeiter

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: joomla 1.5
  • MySQL version: 55
  • PHP version: 46
Re: confirmation email broken
February 13, 2011, 05:35:47 am
Apparently GoDaddy supplied the wrong SMTP relay over the phone and the email support provided the right one.  Once that was entered it worked fine. So PHP didn't work, I have a hunch nobody here knows how to get it working with sendmail, SMTP worked with the correct outgoing server.


xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: confirmation email broken
February 13, 2011, 10:20:55 pm
Hi,

If it doesn't work with mail(), that's 99% sure not to work with sendmail.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • confirmation email broken

This forum was archived on 2017-11-26.