summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
AgeCommit message (Collapse)AuthorFilesLines
2015-03-10Add array typehint to CI_Email::__construct()Andrey Andreev1-1/+1
2015-02-06Polish changes following PR #3573Andrey Andreev1-5/+12
2015-02-06Fix HELO localhost.localdomain violates RFC standardsJames Wade1-2/+6
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-1/+1
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-11-13Removing empty linesMichael Granados1-1/+1
Signed-off-by: Michael Granados <michaelgranados@gmail.com>
2014-11-12Making required changesMichael Granados1-3/+3
Signed-off-by: Michael Granados <michaelgranados@gmail.com>
2014-11-09Verifying From header before send mailMichael Granados1-0/+6
Signed-off-by: Michael Granados <michaelgranados@gmail.com>
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-05-31Add support for non-ASCII domain names in FV & Email classes' valid_email()Andrey Andreev1-0/+5
Depends on the Intl extension
2014-05-20Pick up some changes from text helpervlakoff1-5/+5
refs 6ce4746474ddf050f7f4df61b7a22b7f5854d533
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