Sending mail results in error "Relay access denied".
It throws "Relay access denied", whenever I tried to send mail to "other_domain" from "outside_network". It works just fine for "myown_domain" from "outside/inside_network" and to "other_domain" from "inside_network".
Here is the list of telnet commands.
mail from:[email protected]
- 250 2.1.0 Ok
rcpt to:[email protected]
- 250 2.1.5 Ok
rcpt to:[email protected]
- 554 5.7.1 <[email protected]>: Relay access denied.
rcpt to:[email protected]
- 554 5.7.1 <[email protected]>: Relay access denied.
rcpt to:[email protected]
- 554 5.7.1 <[email protected]>: Relay access denied.
I followed all the steps described in "Microsoft Support" and make sure that server configured in correct way and it do not reject any mail. I also tried to trace through using couple of blogs like this one.
While using MxToolbox also got the same result "Relay access denied".
As "Relay access denied" is very common issue.. there are lot of blogs/documentation are there.. I tried to read all, but I think I am looking in wrong place.
Does anybody have any suggestion?
$mail->SMTPAUTH = true;
– Maryannamaryanne