03-09-2017
270,
99
Join Date: Feb 2017
Last Activity: 13 May 2020, 6:57 AM EDT
Location: United Kingdom
Posts: 270
Thanks Given: 16
Thanked 99 Times in 85 Posts
Hi,
OK, thanks. All of that then points with an issue sending mail from the system using the mail command. Could you try a different e-mail address (something external to yourself, say your own GMail or Outlook.com account or something like that) to see if that gets through ? If it does, then it would be your own corporate mail system that would be filtering it out. If you get nothing there either, then that more indicates that mail is not getting out of the server the script is running on.
If you have full root access on that server, you probably want to look at /var/log/maillog and see what it reveals. It should show you what happened to the mail that was generated, and if it made it successfully off of the server or not.