This topic is locked

RTE with message in mail?

1/4/2008 9:55:41 AM
PHPRunner General questions
P
phprunnerjafieb author

Hallo,

By trying out PHPrunner - a great program - i want to use RTE. It works ok but when ik want to send the richt text in a message i don't know how to obtain a message with richt text.
The code i used in the function AfterEdit:
$message .= "some text,\r\n";

$message .= "some text,\r\n";

$message .= "text : ".$values['text']."\r\n"; // here i use RTE in the visual editor

mail($email, $subject, $message);
Can anyone help me out?
Jafieb

F
frocco 1/7/2008

You must give content type see the example below:
mail($email, $subject, $message,"From: $from\nReply-To: $from\nContent-Type: text/html");
HTH
Frank

Hallo,

By trying out PHPrunner - a great program - i want to use RTE. It works ok but when ik want to send the richt text in a message i don't know how to obtain a message with richt text.
The code i used in the function AfterEdit:
$message .= "some text,\r\n";

$message .= "some text,\r\n";

$message .= "text : ".$values['text']."\r\n"; // here i use RTE in the visual editor

mail($email, $subject, $message);
Can anyone help me out?
Jafieb

P
phprunnerjafieb author 1/9/2008

Thanks,

This was the answer i was looking for.

It works great
Jafieb