PHP Mail sending error

I am sending a simple email from a dedicated server.

mail(“myemail@otherdomain.com”, “test subject”, “test message”, “From: info@thisdomain.com”.“\r\n”.“Reply-To: info@thisdomain.com”);

When I look at the mail log on the receiving server, I see that the message is from thisdomain@server.servername.com - and this email address, which does not exist, is rejected.

2016-05-02 11:31:04 H=(server.servername.com) [23.45.67.89]:50452 X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no F=thisdomain@server.servername.com rejected RCPT myemail@otherdomain.com: Sender verify failed

And, yes, it should be sent as an authenticated mail, and that is on the list of things to do, but there are many instances of this on the site, and we need to get it back running as soon as.

This worked until last week, so I feel sure that there has been a change on the sending server. But what?

Suggestions, please

Does otherdomain.com resolve to an IP address?

Are the MX records for otherdomain.com resolving to the correct server?

Does this correct server accept mail for myemail@otherdomain.com?

AND … does the mail server require a login to send e-mail?

Regards,

DK

Sorry, I really thought that I had replied here - very rude of me, sorry.

The sending server did not have the records set up correctly.

Thanks for your suggestions.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.