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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Problems with Email
Pages: [1]

Author Topic: Problems with Email  (Read 2253 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Problems with Email
August 07, 2007, 08:31:18 am
I'm running into problems with sending confirmation emails (or any emails) on my site. I receive the following message:

Code: [Select]
Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] =>
    [message] => Invalid response code received from server
    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="Invalid response code received from server" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
)

I've diligently combed through the forums and tried everything suggested. I'm positive my SMTP settings are correct, am able to test them in an email client and they work fine. I've added the password to the settings file. But I still get this error. The full back trace error log is as follows:

Code: [Select]
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 148
, handle,
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/packages/PEAR.php, call_user_func, 901
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/packages/PEAR.php, PEAR_Error, 566
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/packages/Net/SMTP.php, raiseError, 277
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/packages/Net/SMTP.php, _parseResponse, 741
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/packages/Mail/smtp.php, rcptTo, 282
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/Mail.php, send, 154
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/EmailHistory.php, send, 160
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/EmailHistory.php, sendMessage, 118
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Contact/Form/Task/EmailCommon.php, sendEmail, 344
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Contact/Form/Task/Email.php, postProcess, 109
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/StateMachine.php, postProcess, 166
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 63
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php, perform, 195
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php, handle, 95
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php, handle, 213
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/Wrapper.php, run, 77
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, run, 312
/home/nyama/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, contact, 92
/home/nyama/public_html/administrator/components/com_civicrm/admin.civicrm.php, invoke, 55
/home/nyama/public_html/administrator/components/com_civicrm/admin.civicrm.php, civicrm_invoke, 32
/home/nyama/public_html/administrator/index2.php, require_once, 71

Help!
-Brian[/code]
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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: Problems with Email
August 07, 2007, 11:25:58 am

Two suggestions:

1. check: http://forum.civicrm.org/index.php/topic,374.0.html, specifically the last post. You might be having a similar issue

2. edit: packages/Net/SMTP.php

add debug function rcptoTo( ) and see what is happening there

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

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Problems with Email
August 08, 2007, 08:52:50 am
lobo -
I tried the two suggestions in that post. Didn't work.
I ran the debug function and got the following:
Parse error: parse error, unexpected T_CLASS, expecting '{' in /home/nyama/public_html/administrator/components/com_civicrm/civicrm/packages/Net/SMTP.php on line 39

Line 39 is: class Net_SMTP

Which is basically the function that builds the SMTP controls.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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: Problems with Email
August 08, 2007, 03:27:44 pm

You made a mistake when adding code to that file. Please consult a local php developer for help in debugging this issue. Kinda hard to debug remotely

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]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Problems with Email

This forum was archived on 2017-11-26.