AFAICS
sendEmail will only accept a valid email address for the
-f option field.
Even if you use the classic
mailx, I think the local MTA will add a domain anyway, unless configured not to do so. But then you might face the problem, that the eMail will only be transferred inside your own network, as many sites need a proper email address for the sender to detect SPAM. What about
:
Code:
echo "Test" | mailx -s "Test subject" reciever@test.com -- -F foobar -f fubar