summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
AgeCommit message (Collapse)AuthorFilesLines
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>
2012-10-27Remove extra new linesvkeranov1-7/+6
2012-10-27Unify Email attachment values into a single array and fix a bug in the new ↵Andrey Andreev1-18/+18
buffer attachment feature
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev1-6/+14
2012-10-19Fix another mailing issue (based on #1281)Andrey Andreev1-6/+10
2012-10-19Fix issue #1409Andrey Andreev1-51/+59
2012-10-18Remove {unwrap}{/unwrap} markers when quoted_printable_encode() or ↵Andrey Andreev1-9/+9
imap_8bit() is used
2012-10-17Fix issue #1897Andrey Andreev1-10/+6
2012-10-15Remove CI_Email::_get_ip()Andrey Andreev1-41/+0
2012-10-11Add a fallback to imap_8bit() for CI_Email::_prep_quoted_printable()Andrey Andreev1-2/+9
2012-10-10Changelog entry for previous commit and change default charset for the Email ↵Andrey Andreev1-0/+2
library to whatever the config array says
2012-10-10Replace in _prep_quoted_printable() with the constant 76Andrey Andreev1-9/+1