summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
AgeCommit message (Collapse)AuthorFilesLines
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
2012-10-09Alter CI_Emai::_prep_quoted_printable()Andrey Andreev1-3/+10
2012-10-08[ci skip] Polish changes from pull #1709Andrey Andreev1-1/+1
2012-10-08Fix email headers when using long email subjects and \r\n as crlf. (Part2)Bruno Barão1-2/+2
- Better expression for the preg_replace. - Added a entry to the changelog.
2012-10-08Merge remote-tracking branch 'upstream/develop' into developBruno Barão1-4/+13
2012-10-05Polish changes from #1586Andrey Andreev1-2/+2
2012-10-05update devel versionMelounek1-5/+19
2012-08-14Fix email headers when using long email subjects and \r\n as crlf.Bruno Barão1-1/+1
2012-07-30Some clean-up and style changesAndrey Andreev1-1/+1
2012-07-30Only clear if request was successfulAlex Bilbie1-3/+3
2012-07-30New parameter to automatically clear the parametersAlex Bilbie1-3/+13
2012-07-30After sending an email clear the parametersAlex Bilbie1-2/+6
2012-06-29added parameter for returned-path in Email::from()Melounek1-4/+13