Line breaks in email body (UE4)
Not sure what I'm missing here, but line breaks are not appearing in emails generated by UE4.
Looking in the email file, it looks OK:
$MailBody = $MailBody . "Thanks for registering with the site.\r\n";
$MailBody = $MailBody . "\r\n";
$MailBody = $MailBody . "Once we have verified your details, we will email you a password to log in to the site.\r\n";
$MailBody = $MailBody . "\r\n";
$MailBody = $MailBody . "Regards, etc";
As far as I know the \r\n should be inserting line breaks, but its all coming through as a single line in the emails. Any suggestions?