From 7c53be42a74b103774729281aef09ad505f3b611 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Tue, 22 Apr 2008 12:02:43 +0000 Subject: Added the ability to set CRLF settings via config in the Email class. Added SVN commit number to changelog Fixed more guide typos and examples --- system/libraries/Email.php | 20 ++++++++++++++++++++ user_guide/changelog.html | 24 ++++++++++++++---------- user_guide/general/credits.html | 6 +++--- user_guide/libraries/email.html | 12 ++++++++++-- 4 files changed, 47 insertions(+), 15 deletions(-) diff --git a/system/libraries/Email.php b/system/libraries/Email.php index 189678742..19121c56b 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php @@ -490,6 +490,26 @@ class CI_Email { // -------------------------------------------------------------------- + /** + * Set CRLF + * + * @access public + * @param string + * @return void + */ + function set_crlf($crlf = "\n") + { + if ($crlf != "\n" AND $crlf != "\r\n" AND $crlf != "\r") + { + $this->crlf = "\n"; + return; + } + + $this->crlf = $crlf; + } + + // -------------------------------------------------------------------- + /** * Set Message Boundary * diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 0718097d0..59ab29530 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -58,7 +58,8 @@ Change Log

Change Log

Version 1.6.2

-

Release Date: not currently released

+

Release Date: not currently released
+SVN Commit: not currently released