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) »
  • Error when Sending Emails
Pages: [1] 2

Author Topic: Error when Sending Emails  (Read 6975 times)

organicathlete

  • Guest
Error when Sending Emails
March 04, 2008, 09:12:48 am
I'm getting the following error message when I try to send an email:

Error Details:

Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=>
    [message] => Authentication failed.


    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="Authentication failed." code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]


)

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: Error when Sending Emails
March 04, 2008, 09:36:07 am

You need to add smtp auth information to CiviCRM. Note that the username/password is now stored in the db and is entered on the admin screens

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

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Error when Sending Emails
March 04, 2008, 09:54:08 am
I checked our logs and I see that you are being rejected during the authentication phase.

make sure that your username(s) and password(s) in your civicrm installation are all correct and match what you are using in your UAS account settings.

and make sure that the domain settings for civimail are correct.  The domain setting for your civimail MUST match the domain that you are using in the UAS account settings.

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Error when Sending Emails
March 04, 2008, 10:07:15 am
also,  you might want to follow these steps from beginning to end to make sure that all is good.

https://www.uas.coop/civismtp-account-how-to

-Shane

organicathlete

  • Guest
Re: Error when Sending Emails
March 04, 2008, 03:38:11 pm
Ok, I will check, but nothing was changed.  It was working and suddenly it stopped.

-b

organicathlete

  • Guest
Re: Error when Sending Emails
March 04, 2008, 10:40:39 pm
Hi Shane,
I checked all the settings and everything appears fine, but it's still not working. 

In searching through my emails, I noticed bills from UAS.  Is this not automatic?  If not, and we're overdue, let me know and I'll get caught up.  Would that be causing the problem?

-Bradley

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Error when Sending Emails
March 05, 2008, 05:56:33 am
no, a bill is not the problem.  the only unpaid bill is february.

lots of people are using the service so there should be no problems.

lemme check some things for you.

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Error when Sending Emails
March 05, 2008, 06:05:41 am
what version of CCRM are u using?

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Error when Sending Emails
March 05, 2008, 06:15:39 am
I see nothing out of the ordinary.

there might be a problem if you are using version 1.7 still.  I do not remember exactly in which version but there was a prob with the smtp password not being sent with the smtp username.

lobo,  if you read this,  do you know anything about the above?

other than that,  I am out of ideas, we send more than 10 - 15k emails / day right now so there is no problem with the service as far as i can tell.


shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Error when Sending Emails
March 05, 2008, 06:28:24 am
one last thing that might help,  please send screenshots that show the settings that you are using in your civimail.

I need two,  the screenshot for the outbound mail settings and the screenshot for the domain settings.

send them to my uas email address please

-Shane

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: Error when Sending Emails
March 05, 2008, 09:00:02 am

sorry, dont remember the issues with 1.7. Upgrading to a more recent release (or 2.0) is probably worth it for all the new changes / bug fixes / improvements :)

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

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Error when Sending Emails
March 07, 2008, 06:43:54 am
it appears as if your civicrm is not sending all of the correct data for authenticating your client.  did you change servers / web hosts recently?

still investigating...

-Shane

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Error when Sending Emails
March 07, 2008, 07:03:07 am
the problem is the server you are sending mail from does not advertise itself as mail.organicathlete.com. 

it is saying that it is:

managemyvps.com

this occurred when we increased security measures against spammers a few weeks ago.

is there any way that you can change the hostname property of the vps instance you are sending mail from?

-Shane

kanani

  • Guest
adding a hostname field vs matching it to email domain
March 14, 2008, 10:54:27 pm
What's the feasibility of adding hostname as an additional field, as opposed to requiring a match to The email domain?

That would seem to allow for multi-purposed machines as well as meet the security requirements.

For example, I've got a server with hostname dhazel.hazelconsulting.com that also hosts smtpmailer.4tgc.org.

Thanks,

Dave


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: Error when Sending Emails
March 15, 2008, 01:27:42 am

I'm not sure i understand the issue completely, so some clarification will be great. the below comments are based on my limited understanding of what i think u r referring to.

in general for something specific like the below, a complete patch along with a description of what it does and how etc, increases the likelihood that it will make it into core :)

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

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail »
  • Using CiviSMTP (Moderator: shane) »
  • Error when Sending Emails

This forum was archived on 2017-11-26.