I have a very simple script
echo "Test email body" | mailx -s "Subject" [email protected]
When I run the script from linux, it's working fine and I'm receiving the email
But, when I use the same script in post session success command or command task in informatica, the script is successful but I did not receive the mail
Also, without calling the script, I directly gave the mail command in post session success command
echo "Test email body" | mailx -s "Subject" [email protected]
Still, it's not working.
Can someone help me on this.