Hi
I am passing the contents of a text area using the PHPRunner rich text editor to a session variable.
The session variable is then used as the message part of the mail function.
Everything works fine apart from the e-mail containing opening ' and closing ' single quotes and line breaks including \r\n
I pass the content of the field using a BeforeAdd event as follows:
$_SESSION["messagefield"]=$values["bodytext"];
Any ideas on how to remove the field wrappers ' ... ' and Carriage return: \r and Linefeed: \n marks?
Thanks for any help!