hi,
can anyone give me a brief example using mailx and heredoc to send an email?
#!/bin/sh
mail -s "subject" target@address >>body
hello all,
this is supposed to be the body of the mail
body
-----------------------------------------> i think i need somethink like above code, with mailx instead of mail -s......... please correct me