aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/mail.php
Commit message (Collapse)AuthorAge
* code style: line breaksAndreas Gohr2023-08-31
|
* code style: operator spacingAndreas Gohr2023-08-31
|
* code style: indent fixesAndreas Gohr2023-08-31
|
* coding style: control flow whitespacesAndreas Gohr2023-08-31
|
* coding style: function call spacingAndreas Gohr2023-08-30
|
* coding style: loop declaration spacingAndreas Gohr2023-08-30
|
* codestyle adjustments: function declaration braces/spacesAndreas Gohr2023-08-30
|
* codestyle adjustments: function argument spacingAndreas Gohr2023-08-30
|
* Apply rector fixes to the rest of incAndreas Gohr2023-08-29
|
* move mail header constants to define fileAndreas Gohr2023-03-06
|
* Shorten comment line to appease PHP Code Snifferfiwswe2022-09-19
|
* Remove PHP version differentiation for MAILHEADER_EOLfiwswe2022-09-19
|
* Handle change of line endings in mail() in PHP 8.0.14+fiwswe2022-09-19
|
* removed deprecated mail_send()Andreas Gohr2020-05-01
| | | | This has been replaced by the Mailer class some years ago.
* Fix curly brace syntax. PHP 7.3 deprecations in inc/ directory.Syntaxseed2019-10-31
|
* replaced deprecated utf8 functionsAndreas Gohr2019-06-10
| | | | | For now this uses full qualified namespaces, sensible imports may come later.
* deprecated trigger_event() in favor of a static method on EventAndreas Gohr2019-04-20
|
* line lengths shortenedAndreas Gohr2018-04-27
| | | | | | This makes sure all files use line lenghts shorter than 120 characters. This is a quick fix. It might not always be the nicest change.
* remove DOKU_INC checksAndreas Gohr2018-04-27
| | | | | | | There is no need for this check, since these files should not have any main code that is executed on direct call. Fixes PSR1.Files.SideEffects.FoundWithSymbols
* Replace htmlspecialchars to hsc in corePhy2017-08-01
|
* moved EmailAdressValidator to composer install #1970Andreas Gohr2017-05-26
|
* I supplemented the existing comments on the methods in which there was not ↵Takamura2017-03-31
| | | | enough information to the standard phpDoc.
* Fixed broken links to php.net and redirecting pages to php.netAnders Sandblad2016-06-14
|
* Add deprecated tag to mail_send, _mail_send_action, mail_encode_addressMichael Große2015-04-09
| | | | | These functions are already deprecated and replaced by the Mailer:: class. The deprecated tag was simply missing.
* Accept some new gTLD e-Mail addressesRainer Rillke2014-10-17
| | | | | | by allowing longer TLDs (up to 63 characters, which is the DN maximum: https://tools.ietf.org/html/rfc1034): "Each node has a label, which is zero to 63 octets in length." For an up-to-date-length, see http://stackoverflow.com/a/22038535
* amend $_SERVER to $INPUT->serverChristopher Smith2014-03-06
|
* use preg_replace_callback instead of '/e' flag when encoding quoated ↵Christopher Smith2013-10-19
| | | | printable ('/e' regex flag deprecated in PHP5.5)
* renamed mailfromnon to mailfromnobody, use in subscriptionsAndreas Gohr2012-08-05
|
* added mailfromnone internal option FS#2170Andreas Gohr2012-08-05
|
* coding style updatesAndreas Gohr2012-03-16
|
* The mail() function shouldn't be executed when no recipients are given.Matthias Schulte2011-06-26
| | | | | Empty to, cc or bcc fields could lead to an Internal Server Error: malformed header from script. Bad header=No recipient addresses found...
* fixed email subject encoding bug ($enc_subj typo)Kazutaka Miyasaka2011-06-06
|
* correctly encode quoted email namesElan Ruusamäe2011-02-11
|
* Use Base64 encoding for long subjects FS#2169Andreas Gohr2011-02-10
| | | | | | | | | | | | | | | Quoted-Printable specifies a maximum line length and some mail tools (Apple mail and Thunderbird) take this quite serious and will fail to decode subjects encoded with quoted-printable when the subject exceeds the length limit. The correct fix would be to wrap the header into multiple lines. But this seems not to be possible with mails() $subject variable. This patch switches to Base64 encoding for long subjects. A general decision if switching completely to Base64 is the best way to go is still open. (see bugreport)
* Revert "use CRLF in quoted printable encoding FS#1755"Andreas Gohr2011-02-06
| | | | | | | | | | This research suggests that, the change does not help, but in fact breaks previoulsy working setups: https://bugs.dokuwiki.org/index.php?do=details&task_id=1755#comment3446 I'm still at loss on how to fix this bug. This reverts commit 2ae68f97446ff6bae5fbbe463eb00312598be840.
* Update EmailValidator to r10 and allow local email addresses FS#2118Andreas Gohr2010-12-18
|
* surpress warning in mail setup when hostname can't be determinedAndreas Gohr2010-12-08
|
* Use $USERINFO in mail_setup, as $INFO['userinfo'] is not yet available.Elan Ruusamäe2010-11-29
| | | | | | | | | 20:51:05 <glen> what is the difference between $INFO['userinfo'] and $USERINFO? 20:52:17 <splitbrain> none really 20:52:33 <glen> yet one works ($USERINFO) and the other doesn't in my setup 20:52:59 <splitbrain> $INFO isn't available everywhere 20:53:27 <splitbrain> or might not have been set yet (if you're fetching an early action hook) 20:53:27 <glen> yeah, mail headers setup failed for me
* handle mailfrom replacements in a central place FS#2091Andreas Gohr2010-11-05
|
* use CRLF in quoted printable encoding FS#1755Andreas Gohr2010-06-26
| | | | | | | Needs testing from: a) Exchange users - is FS1755 fixed for you? b) everone else - all okay still?
* first attempt to centralize all include loadingAndreas Gohr2010-01-31
| | | | | | | | Classes are loaded throug PHP5's class autoloader, all other includes are just loaded by default. This skips a lot of require_once calls. Parser and Plugin stuff isn't handled by the class loader yet.
* Coding Standard CleanupAndreas Gohr2009-10-20
| | | | | | Ignore-this: 259cb5773c3144c6c706d87298dcf674 darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
* Change expensive uses of split to the much faster explode.Tom N Harris2009-05-28
| | | | darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz
* removed some illogical path setupsAndreas Gohr2008-12-13
| | | | darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
* reverted the envelope address setting patchAndreas Gohr2008-10-13
| | | | | | | | | This implementation proved to be troublesome on certain setups. Instead of breaking possibly a *lot* of working setups to fix a few other systems, we decided to revert to the previous behavior. Users which can't use this method for sending mails should consider the swiftmail plugin. darcs-hash:20081013171949-7ad00-83c336824da6e5428b7d8e06aea7e6d8e8a24f58.gz
* readded email patterns -> fixes email links broken with yesterdays validator ↵Andreas Gohr2008-10-12
| | | | | | switch darcs-hash:20081012132714-7ad00-39316b19200fc122bdd4f780235e25a9fea09932.gz
* use EmailAddressValidator class for email validation FS#1503Andreas Gohr2008-10-11
| | | | darcs-hash:20081011173245-7ad00-578e03ca701fc4443ba91329be6ac1ca9344c7a7.gz
* some changes for the recent FS#1419 and FS#1375 fixesAndreas Gohr2008-10-11
| | | | | | very simple unit test added. Still needs *real world* testing! darcs-hash:20081011141442-7ad00-13378a7a14f81b0799102f0d53d6db8e1078b3e0.gz
* pass envelope headers to sendmail on Unix systems FS#1419 FS#1375Andreas Gohr2008-10-11
| | | | | | | This patch will pass the from and to headers to the sendmail binary, when sending mails. This needs heavy testing. darcs-hash:20081011122529-7ad00-db97a65eecf29a21a40abe9280b33a76cac58aec.gz
* fix parsing of email addresses with uppercase letters FS#1378Andreas Gohr2008-04-10
| | | | darcs-hash:20080410190757-7ad00-5876d4273cd99e64d1adc13e6a7e90e9b85cd673.gz