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 CiviContribute (Moderator: Donald Lobo) »
  • Inconsistent SMTP Error
Pages: [1]

Author Topic: Inconsistent SMTP Error  (Read 3479 times)

matthewpetty

  • Guest
Inconsistent SMTP Error
June 06, 2008, 05:45:11 am
Hey guys -

I'm using Google's SMTP service. I'm getting this error, but my other profile pages that send email seem to work fine...

Failed to set sender: @localhost [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: 555, response: 5.5.2 Syntax error. j38sm7913237waf.56)]

Outbound mail:
Host: ssl://smtp.gmail.com
Port: 465
Username: admin@GAppsDomain.com
Password: correct_password

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Inconsistent SMTP Error
June 06, 2008, 07:40:58 am
From what I understand, response code 555 means that there is something wrong with email address that you're trying to use (either recipient or sender) - in this particular case it looks like the sender address is malformed. Can you check that possibility?

Thx,m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

matthewpetty

  • Guest
Re: Inconsistent SMTP Error
June 06, 2008, 10:04:07 am
It sends fine from all of my profiles...

matthewpetty

  • Guest
Re: Inconsistent SMTP Error
June 06, 2008, 01:35:07 pm
Something is broken here, guys.

CiviMail works fine and all of my profiles that send notifications work fine.

Could it be that the CiviContribute code does not escape the slashes in "ssl://smtp.gmail.com"? I'm not much of a PHP guy, but I can work my way through a reference manual fairly well.

If I have to do, I'll just disable contribute email notifications entirely.
« Last Edit: June 06, 2008, 04:14:38 pm by Matthew Petty »

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: Inconsistent SMTP Error
June 06, 2008, 04:57:48 pm

You might want to check the

Receipt From Name, Receipt From Email,  CC Receipt To and BCC Receipt to settings in the contribution page

(demo url: http://drupal.demo.civicrm.org/civicrm/contribute/manage?reset=1&action=update&id=1&subPage=ThankYou)

The profile code uses different values for this which might cause the inconsistency

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

matthewpetty

  • Guest
Re: Inconsistent SMTP Error
June 06, 2008, 09:13:50 pm
I replaced the spaces in the Receipt From field with dashes and now it works.

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: Inconsistent SMTP Error
June 06, 2008, 09:20:01 pm

Can u elaborate a bit on this. What was the old value and what was the new value (the one with dashes)

Any chance u can put debug statments in packages/Mail/smtp.php and see the difference in the mail packet between what works and what does not work

thanx

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

matthewpetty

  • Guest
Re: Inconsistent SMTP Error
June 07, 2008, 08:08:40 am
It was "Steve Clark for Mayor Campaign"
It is now "Steve-Clark-for-Mayor-Campaign"

Changing it like that was an act of desperation. I also ADDED CC fields when I did that, so that could have made a difference (they were blank before).

I'm under a pretty tight deadline to get this contribution form live; I hope to return to debug this after the contract is closed.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Inconsistent SMTP Error

This forum was archived on 2017-11-26.