Hi,
I have a form to let user fill in, and once the user submit, an email will be sent.
I am using a macro “Send a simple e-mail”.
In the form, there is a textbox “comment”, eg. the user key the following:
====
Hi,
This is a testing message.
Thanks.
In OnAfterInsert event, I have the following:
===
$comments={comment};
$mail_message=$comments;
When it display in the email, it will shows the following:
===
Hi,
This is a testing message.
Thanks.
How do I line break for
in the email? I have tried str_replace("
“,”<br>",$comments) but not works.