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) »
  • Fails to send confirmation e-mail
Pages: [1]

Author Topic: Fails to send confirmation e-mail  (Read 3554 times)

JonWex

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 1
  • CiviCRM version: 3.4.8
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.5.8
  • PHP version: 5.3.3
Fails to send confirmation e-mail
January 22, 2012, 01:53:54 pm
I get the following when trying to send confirmation e-mail from event registration

The mail library returned the following error message:
 authentication failure [SMTP: Invalid response code received from SMTP (outbound mail) server while attempting to send email. This is often caused by a misconfiguration in the CiviCRM Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 535, response: 5.7.0 ...authentication rejected (6))]

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 SMTP Username or Password are incorrect.
•Your SMTP Server (machine) name is incorrect.
•You need to use a Port other than the default port 25 in your environment.
•Your SMTP server is just not responding right now (it is down for some reason).
•The FROM Email Address configured for this feature may not be a valid sender based on your email service provider rules.


But, the Save and Test e-mail in Global Configuration/OutBound E-mail works perfectly (and the SMTP server is not down)
The Global Configuration/From Email screen has that same e-mail as Outbound
The Configure Event/Online Registration tab has that same e-mail (in name@comcast.net format)

Does the Online Registration tab need an index into the From Emails instead of a standard-form address?  How can I debug this.

Thanks

Jonathan

JonWex

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 1
  • CiviCRM version: 3.4.8
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.5.8
  • PHP version: 5.3.3
Re: Fails to send confirmation e-mail
January 28, 2012, 08:22:29 am
This was a problem with having different values for CIVICRM_SITE_KEY in the front end and back end. i.e. in the files:

components/com_civicrm/civicrm.settings.php
administrator/components/com_civicrm/civicrm.settings.php

Different values foul up the encryption/decryption of the SMTP password - an issue for the registration confirmation e-mail process, but not for the "Save and Test email" button in the outbound mail configuration screen of Global Settings. 


johnsopaul

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 4.3
  • CMS version: 2.5
  • MySQL version: 5.0
  • PHP version: 5.3
Re: Fails to send confirmation e-mail
March 24, 2012, 03:01:27 pm
I set the front end CIVICRM_SITE_KEY (components/com_civicrm/civicrm.settings.php) to be the same as the back end (administrator/components/com_civicrm/civicrm.settings.php) and it worked - although it returned a message saying profile and account was "not saved"

emails were sent though and both user and ciccrm contact were created and the contact  and the user could log on. 

paul

Rick Cunningham

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 3
    • Landings Men's Golf Association
  • CiviCRM version: 4.5.7
  • CMS version: Drupal 7.34
Re: Fails to send confirmation e-mail
April 11, 2012, 06:42:41 am
I have the same problem, but I don't understand the solution - I only know of a single file at
sites/default/civicrm.settings.php

So I don't understand the reference to 2 file locations
administrator/components/com_civicrm/civicrm.settings.php
and components/com_civicrm/civicrm.settings.php

Can someone set me straight?

JonWex

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 1
  • CiviCRM version: 3.4.8
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.5.8
  • PHP version: 5.3.3
Re: Fails to send confirmation e-mail
April 11, 2012, 07:09:59 am
Those are files in a Joomla site. 

Surely, there are comparable files in a Drupal site, but I could not name them. 

Jonathan

Rick Cunningham

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 3
    • Landings Men's Golf Association
  • CiviCRM version: 4.5.7
  • CMS version: Drupal 7.34
Re: Fails to send confirmation e-mail
April 11, 2012, 08:00:57 am
Thanks Jon. It may be that we only have the one settings.civicrm.php, but that there are other settings files, perhaps for Drupal, that are getting scrambled. The strange thing is that this is working on a CiviHosting hosted site, and not working on a Bluehost hosted site.

JonWex

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 1
  • CiviCRM version: 3.4.8
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.5.8
  • PHP version: 5.3.3
Re: Fails to send confirmation e-mail
April 11, 2012, 08:52:32 am
I cannot give you any specific advice on Drupal config, but I am going to guess that you installed Drupal at bluehost, and copied files to Bluehost.

The installation of Drupal probably generated an encryption key (for things like passwords), that would fail to decrypt any encrtypted data that you copied over.  So you might want to double check that you set the encryption key back to what it was at your old site. 

Jonathan

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Fails to send confirmation e-mail

This forum was archived on 2017-11-26.