$x = "..multiline text.."; print qx{ echo $x | mail -s '123' email@at.com}; [download]
In reply to $var | system() by rootcho