$ourmessage =~ s/
/\n/g; # replace
with new-line