Skip to content

Commit

Permalink
Uses crlf_lineendings($text) function to normalise line endings in em…
Browse files Browse the repository at this point in the history
…ail message before sending.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1024 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 11, 2004
1 parent f9b8d57 commit fbf4448
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/tokens.php
Expand Up @@ -688,6 +688,7 @@
{
$sendmessage = str_replace("{ATTRIBUTE_2}", $emrow['attribute_2'], $sendmessage);
}
$sendmessage=crlf_lineendings($sendmessage);
// Uncomment the next line if your mail clients can't handle emails containing <CR><LF>
// line endings. This converts them to just <LF> line endings. This is not correct, and may
// cause problems with certain email server
Expand Down Expand Up @@ -853,6 +854,7 @@
$sendmessage = str_replace("{SURVEYURL}", "$publicurl/index.php?sid=$sid&token={$emrow['token']}", $sendmessage);
$sendmessage = str_replace("{ATTRIBUTE1}", $emrow['attribute_1'], $sendmessage);
$sendmessage = str_replace("{ATTRIBUTE2}", $emrow['attribute_2'], $sendmessage);
$sendmessage=crlf_lineendings($sendmessage);
// Uncomment the next line if your mail clients can't handle emails containing <CR><LF>
// line endings. This converts them to just <LF> line endings. This is not correct, and may
// cause problems with certain email server
Expand Down

0 comments on commit fbf4448

Please sign in to comment.