cancel
Showing results for 
Search instead for 
Did you mean: 

bash: mail: command not found

SV2022
Nimbostratus
Nimbostratus

same works with version 12 and below but in 15 its not working .

do i need to install any tools to use mail like " yum -y install mailx" ?..

 

Command i am using is echo "test mail" | mail -vs "Test email " myemail@mydomain.com

 

4 REPLIES 4

Hi,

 

You can use ssmtp command.

echo "Subject: ssmtp test mail" | ssmtp myemail@mydomain.com

 

No luck

Hello Karthikeyan.

 

You can try this

https://support.f5.com/csp/article/K13303339

 

Regards,

Dario.

Regards,
Dario.

SV2022
Nimbostratus
Nimbostratus

no its still not working all configurations remains the same .This worked before "df -h | mail -vs "free space " myname@mydomain.com "but with  new version this is not.

need a replacement for this .