TDI-30602: tSendMail compile error when multiple lines in Message on
non-windows OS
https://jira.talendforge.org/browse/TDI-30602
the line separator be converted just for windows, use a regular
expression(replaceAll("(\r\n|\r|\n)","\\\\n")) to convert the line
separator including unix-like(line break is '\n') and old mac(line break
is '\r')