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: Failed to set sender: @localhost *SOLVED*
Pages: [1]

Author Topic: Error: Failed to set sender: @localhost *SOLVED*  (Read 5150 times)

JulesM

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
    • Michigan Rising
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.0.95-community
  • PHP version: 5.3.8
Error: Failed to set sender: @localhost *SOLVED*
March 09, 2012, 09:39:31 am
Hi,

I switched over from PayPal Payments Standard to PayPal Payments Pro. On my contribution form, that worked fine before, I now get this error on hitting Confirm Contribution:

<---Start---->
An error occurred when CiviCRM attempted to send an email (via SMTP). If you received this error after submitting on online contribution or event registration - the transaction was completed, but we were unable to send the email receipt.

The mail library returned the following error message:

Failed to set sender: @localhost [SMTP: Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 501, response: could not parse your mail from command)]

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.

Check this page for more information.
http://wiki.civicrm.org/confluence/display/CRMDOC41/Outbound+Email+%28SMTP%29
<----End-->


Now, we are using civismtp for our mail and one would think that the password and username would be the same for contribution processes. So Outbound Email settings are already configured and functional...checked and re-checked those just in case. Followed the instructions in the wiki link and I don't think there's any reason why the port would be different for one.

I'm stuck. Any advice here would be appreciated.

<----Solution---->
When you're configuring a contribution page, there's a tab at the top that says "Receipt." If you click on it you'l activate it and it's on that page that you need to set the Receipt From Email* for the sucker to send a receipt. If you don't you get the error message I got. Simple. :)

<---------->

« Last Edit: March 09, 2012, 05:07:27 pm by JulesM »

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Error: Failed to set sender: @localhost *SOLVED*
March 13, 2012, 11:25:42 am
[1] which version of CCRM are you using?

[2] have you tested to be sure that your outbound email settings are correct?  send a test email to confirm.

[3]  make sure the "From email" is configured correctly in the contribution page settings.

-Shane

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail »
  • Using CiviSMTP (Moderator: shane) »
  • Error: Failed to set sender: @localhost *SOLVED*

This forum was archived on 2017-11-26.