Unfortunately both of them give the same error.ADD Creative wrote: ↑Thu May 01, 2025 6:57 pmIf EHLO [' . $_SERVER['SERVER_ADDR'] allows you to send email without errors and EHLO ' . getenv('SERVER_NAME') doesn't, then the issue is with your mail server, incorrectly rejecting your domain as part the EHLO command.oursupersoftware wrote: ↑Thu May 01, 2025 4:32 amSo I tried your response andADD Creative wrote: ↑Wed Apr 16, 2025 5:57 pmAs a test you could replace the SERVER_NAME with an IP address.
In ssystem/library/mail/smtp.php chang.To.Code: Select all
fputs($handle, 'EHLO ' . getenv('SERVER_NAME') . "\r\n");
Code: Select all
fputs($handle, 'EHLO [' . $_SERVER['SERVER_ADDR'] . "]\r\n");
$_SERVER['SERVER_ADDR'] is mydomain.com 's IP address and
getenv('SERVER_NAME') is mydomain.com
This all seems correct.
On my VPS terminal, when I run the command hostname, I get vm569wfqi.mydomain.com, I'm not sure if that's the problem.
Maybe it's time to have a senior developer take a look at it—with paid support if needed.
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
If it gives the same error with your domain in the error message then I'm guessing you mail server is doing a reverse DNS lookup and still not allowing that IP address and domain combination.
Who is online
Users browsing this forum: No registered users and 10 guests