0
|
Hello, Apologies for the problem with sending email through PHP in using a CRON job. The problem you're facing is a result of the web environment having a different environment (set by a PHP.INI) versus the command line. When you're running the CRON job it's running in a different environment with a different set of PHP variables. If you're not setting them correctly in your code, then your cron job that set to send mail in PHP will NOT work. Here's the email log error that we're seeing: SMTP error from remote mail server after MAIL FROM:<> SIZE=2836: host 127.0.0.1 [127.0.0.1]: 550 "REJECTED - Bad HELO - Host impersonating [ehub22.webhostinghub.com] I spoke to a senior tech about it after looking at your cron job and making sure that it was running. I also compared running the cron job with the running it in a browser. The senior tech confirmed that the issue is within your code. You will need to provide further variables within the code in order to get the mail to send properly. Our apologies as we cannot edit your code for you. You may find some information here in regards to the issue. (I also removed your question from InMotion support center as it was a duplicate of this one) Kindest regards, Arnel C.
|
0
|
I got some more changes done as you suggested but still no luck. Could you please have a look on this again?
|
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |