FormToEmail – SMTP server response: 553 sorry, that domain isn’t allowed to be relayed thru this MTA

We recently had to switch servers and my client started experiencing the following error when submitting forms using FormToEmail, which is some self explanatory .php code. Form To Email PHP script from FormToEmail.comWarning: mail() [function.mail]: SMTP server response: 553 sorry, that domain isn’t allowed to be relayed thru this MTA (#5.7.1) in E:hshomeUSERIDDOMAINNAMEformmailcontactus.php on line 207 The challenge was that determined to be two things the settings for sendmail_from and SMTP in the php.ini file. In my case I have a generic domain for my cluster. You will probably want something like smtp.YOURDOMAIN.com or mail.YOURDOMAIN.com. The sendmail_from should be a full email that does exist on the mail server. Additionally my client was sending directly to her sbcglobal.net. For some reason the old server allowed this. The new server, which is more secure and doing what I think it should does not allow this. I hope this helps. Chris

Author: eweb-admin



Print