If I want to use the sysEmailTable, how can I put a string as mapping into the sysEmailTable::sendMail if the string has multiple lines (\n).
Code so far:
static void createEmail(Args _args)
{
Map mappings;
str s;
;
s=strFmt('%1\n%2\n', "line 1,line 2");
mappings = new Map(Types::String, Types::String);
mappings.insert('abc', s);
sysEmailTable::sendMail('test', 'NL', 'test@test.com', mappings);
}
The currrent output in outlook message body is:
line1line2
I would like It to be:
line1
line2