Support (offered by community volunteers) > Using CiviSMTP
Error: Failed to set sender: @localhost *SOLVED*
(1/1)
JulesM:
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. :)
<---------->
shane:
[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
Navigation
[0] Message Index
Go to full version