summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
AgeCommit message (Collapse)AuthorFilesLines
2014-05-20Fix handling of {unwrap} tags in word_wrap() functionsvlakoff1-2/+2
* in Email library: these tags were not removed * in text helper: simplified code
2014-05-20Regex fixesvlakoff1-1/+1
* Replace wrong "wwww." with "www." * Escape dot
2014-05-19Remove static cache in Email->_mimes_types()vlakoff1-9/+1
Saving one function call isn't worth the code overhead.
2014-05-19Fix caching of MIME configvlakoff1-3/+6
* in get_mimes(): was missing isset() test * in Email->_mimes_types(): static cache of reference was noneffective refs 6ef498b49946ba74d610b3805fb908b163a7f03a
2014-03-13Partially revert PR #2190Andrey Andreev1-1/+1
The core shouldn't depend on constants that are not defined by itself
2014-02-24[ci skip] A tiny improvement in CI_EmailAndrey Andreev1-2/+8
2014-02-20Don't use error suppression on ini_get() eitherAndrey Andreev1-1/+1
2014-02-11Utf8/iconv/mbstring-related changesAndrey Andreev1-3/+3
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-02-08Make CI_Email::set_alt_message() parameter mandatory (optional doesn't make ↵Andrey Andreev1-1/+1
sense)
2014-01-15Fix #2822: Incorrect usage of fwrite()Andrey Andreev1-1/+10
We only used to check (and not always) if the return value of fwrite() is boolean FALSE, while it is possible that the otherwise returned bytecount is less than the length of data that we're trying to write. This allowed incomplete writes over network streams and possibly a few other edge cases.
2014-01-15Fix incorrect checks for the fwrite() return valueAndrey Andreev1-1/+1
! fwrite() could trigger false-positives as it is possible for it to return 0 instead of boolean FALSE. (issue #2822) Also removed an unnecessary log level check that caused an extra space to be inserted for the INFO level. (proposed in PR #2821)
2014-01-10condition repair and commentsPetr Heralecky1-3/+3
2014-01-10rename src to filePetr Heralecky1-9/+9
2014-01-10attach files by absolute urlPetr Heralecky1-10/+10
2014-01-10Further changes related to PR #2807Andrey Andreev1-11/+12
2014-01-10variable repairPetr Heralecky1-2/+2
2014-01-10styleguided 2Petr Heralecky1-3/+1
2014-01-10styleguidedPetr Heralecky1-10/+16
2014-01-10Added Email::attach_cid() returning CIDPetr Heralecky1-32/+55
2013-09-13Improvements to safe_mode detection (it doesn't exist in PHP 5.4)Andrey Andreev1-2/+1
2013-08-07An improved version of PR #2584, fixes #2583Andrey Andreev1-11/+13
2013-07-162.1.4 release related stuffAndrey Andreev1-1/+1
2013-06-25Merge pull request #2480 from florisluiten/developAndrey Andreev1-1/+1
Prevent email header injection
2013-06-24Removed empty line at EOFFloris Luiten (lenwweb.nl)1-1/+1
2013-06-11added newlines to end of email header when send_multipart === falseChris Ege1-1/+1
2013-06-07Prevent email header injectionflorisluiten1-2/+2
When a header is set, newline characters are stripped so one cannot inject his/her own email header(s). Since set_header is only used to set one header at a time, it should have no effect on any code relying on this function
2013-04-18Change boolean to bool.buhay1-1/+3
Added whitespace.
2013-04-17Correction for issue #2388. Updated _build_message() to return a boolean. ↵buhay1-4/+10
This prevents email from sending if there is an error trying to attach an attachment to the email.
2013-03-12Fix #2320Andrey Andreev1-3/+3
2013-03-04[ci skip] Fix #2289Andrey Andreev1-3/+2
2013-02-19Merge pull request #2261 from nisheeth-barthwal/developAndrey Andreev1-2/+5
Fixed Issue #2239
2013-02-19Fixed the issue with bcc_batch_mode and subjectnisheeth-barthwal1-2/+5
2013-02-19Fix a code comment in Upload->_file_mime_type()vlakoff1-3/+3
Availability of dangerous functions is now tested using function_usable().
2013-02-18Removed the unused $force paramter in Email::_smtp_connect()nisheeth-barthwal1-29/+29
2013-02-18removed PR from the bug listnisheeth-barthwal1-1/+1
2013-02-18Fixed curly braces. Removed redundant method set_useragent()nisheeth-barthwal1-20/+11
2013-02-18Fixed tab-indentation. Made appropriate entries in changelognisheeth-barthwal1-283/+282
2013-02-17Added keep-alive connection to SMTP. Fixed socket read/write timeouts. Added ↵nisheeth-barthwal1-234/+290
PHP useragent
2013-01-15A few adjustments to previous commitvlakoff1-1/+1
2013-01-14Replace is_null() with === / !== NULLvlakoff1-1/+1
Exact same behavior, but faster. I also think it's more readable.
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-17update for Issue #2064 (changed docblocks which return $this or only call a ↵Andrew Podner1-17/+17
method that returns $this to @return CI_DB_class_name)
2012-11-26CI_Email::print_debugger() option to limit the type of data to be printedAndrey Andreev1-2/+23
(an alternative to PR #1759; partially solves issue #1742)
2012-11-12Some micro-optimizationsAndrey Andreev1-2/+2
2012-11-07Added function_usable() to common functionsAndrey Andreev1-4/+7
It is now used to check whether dangerous functions like eval() and exec() are available. It appears that the Suhosin extension (which is becoming popular) terminates script execution instead of returning e.g. FALSE when it has a function blacklisted. function_exists() checks are insufficient and our only option is to check the ini settings here. Filed an issue here: https://github.com/stefanesser/suhosin/issues/18 ... hopefully we'll be able to deal with this in a more elegant way in the future. (this commit supersedes PR #1809)
2012-11-02Fix #1960Andrey Andreev1-1/+1
2012-11-01[ci skip] DocBlocks for Email, Ftp, Unit_test and Javascript librariesAndrey Andreev1-21/+306
Partially fixes issue #1295
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-30Fix #1938GDmac1-3/+6
Where the email library removed multiple spaces inside a plain text message. Signed-off-by: GDmac <grdalenoort@gmail.com>