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 »
  • Using CiviSMTP (Moderator: shane) »
  • CiviSMTP Account Settings - Validation error
Pages: [1]

Author Topic: CiviSMTP Account Settings - Validation error  (Read 4991 times)

MacRonin

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 14
CiviSMTP Account Settings - Validation error
October 03, 2008, 02:09:29 pm
I am trying to enter my config settings ( on https://civismtp.uas.coop/drupal/civismtp/account  Its a new account ) and I keep getting the following error.

Quote
CiviSMTP Account Settings
Validation error, please try again. If this error persists, please contact the site administrator.

normally a field is flagged so that you know what field is having problems, but nothing is indicated as far as I can tell.

Any clues as to what It may not like or how to find out what field is making it unhappy.


MacRonin

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 14
Re: CiviSMTP Account Settings - Validation error
October 03, 2008, 08:04:58 pm
The doc says that if I check the TEST option at the bottom of the page that the settings will be saved even if the Test fails. The name of the setting group does not show up on the menu. and if I try to send a test mail I get the following.(which I kinda expected when the setting didn't get saved.
Quote
Sorry. A non-recoverable error has occurred.
A fatal error occurred when CiviCRM attempted to send an email (via SMTP). If you received this error after submitted on online contribution or event registration - the transaction was completed, but we were unable to send the email receipt.

This is probably related to a problem in your Outbound Email Settings (Administer CiviCRM » Global Settings » Outbound Email). Possible causes are:

Your SMTP Username or Password are incorrect.
Your SMTP Server (machine) name is incorrect.
You need to use an 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).
Check this page for more information.

The mail library returned the following error message: authentication failure [SMTP: Authentication failed. (code: 221, response: sh.uas.coop closing connection. Have a wonderful day.)]

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: CiviSMTP Account Settings - Validation error
October 06, 2008, 05:01:16 am
MacRonin,
   Have you entered the smtp authorization pasword in the civicrm.settings.php file? If not, that might be the problem.

Cynthia


shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: CiviSMTP Account Settings - Validation error
October 06, 2008, 07:22:17 am
hi,  there are no problems on our end.  this appears to be a problem with the civicrm installaton

make sure that Net_SMTP and AUTH_SASL  are installed
make sure that you are following these instructions exactly:  http://civismtp.uas.coop/drupal/node/1

other than that it should work

let us know,

-Shane

MacRonin

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 14
Re: CiviSMTP Account Settings - Validation error
October 06, 2008, 07:31:09 am
 ;D Thank you Cynthia,

That was it. I had thought that this was an either/or situation, and you only had to go to the settings file if you didn't have the parm in the web page( /civicrm/admin/setting/smtp ). But I guess not. Now it has stored and tested all my parms and is mostly happy. It seems to not like my Soap Proxy. I used ther default for Drupal and looks valid, but let me check to make sure I didn't make a typo ???
Quote
Civimail User Check : it appears that the proxy URL that you gave is invalid
SMTP Authorization Check : SMTP Authorization Succeeded! This proves that the SMTP server is up and that the SMTP Authorization is working with the SMTP username and SMTP password you have entered.
Email Domain Check : The MX records for Example.org are correctly configured
SMTP Account settings updated for Example


DRUPAL - http://<your_site_installation_root>/sites/all/modules/civicrm/extern/soap.php


ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: CiviSMTP Account Settings - Validation error
October 06, 2008, 07:42:05 am
Hello again,
   Make sure that the soap username and password that you entered for the UAS account matches the soap username and password for the Drupal (soap) user you created.
   If that doesn't help, it might be something with your settings_location.php file. Take a look here for help: http://forum.civicrm.org/index.php/topic,4049.0.html.

Cynthia
« Last Edit: October 06, 2008, 07:44:00 am by ctarascio »

MacRonin

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 14
Re: CiviSMTP Account Settings - Validation error
October 06, 2008, 08:44:36 am
Quote from: shane on October 06, 2008, 07:22:17 am
make sure that Net_SMTP and AUTH_SASL  are installed
make sure that you are following these instructions exactly:  http://civismtp.uas.coop/drupal/node/1


I have previously sent mail from my CiviMail system going against localhost, but will check further. Both of these are PEAR modules I assume. If not installed under PEAR, can I just place them in the folder structure like CiviCRM did for other PEAR modules?
I double checked the SOAP/drupal username & password and SMTP username & password - they do match (your form matches what's entered at my site)

And since I want to double check everything, I just want to verify that having the website domain and the email domain not match is OK. See my post from earlier ( http://forum.civicrm.org/index.php/topic,4988.0.html Using diff domains for website and mail servers  ) The www domain will be the one processing the SOAP requests


Quote from: ctarascio on October 06, 2008, 07:42:05 am
Hello again,
   Make sure that the soap username and password that you entered for the UAS account matches the soap username and password for the Drupal (soap) user you created.
   If that doesn't help, it might be something with your settings_location.php file. Take a look here for help: http://forum.civicrm.org/index.php/topic,4049.0.html.

Cynthia


Isn't settings_location.php only for Multi-site installations? I'm not not a multi-site so I haven't created one. Or does the SOAP interface require that one be created anyway? But the post you mention also had links to some other ideas so I will check those also. Thanks again.

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: CiviSMTP Account Settings - Validation error
October 07, 2008, 09:09:55 am
yes those are pear modules.

the website domain and email domain do not have to be the same.

just follow the instructions here explicitly:

http://civismtp.uas.coop/drupal/node/1


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail »
  • Using CiviSMTP (Moderator: shane) »
  • CiviSMTP Account Settings - Validation error

This forum was archived on 2017-11-26.