the message received from yahoo mail got error message " Remote host said: 554 Message not allowed - [299]"
it's mean yahoo detect character in your mail that considered danger
my isue in the script i put the option character like this bellow
#/bin/msmtp -- examplexxxx@gmail.com << EOF
after remove it the email send succesfuly to yahoo mail
just remove the character that not required