Commit Graph

49 Commits

Author SHA1 Message Date
Aleksander Machniak
f2688ba492 Use ?? operator where applicable 2021-09-21 19:12:06 +02:00
Aleksander Machniak
de74c656ce Fix PHP 8.1 warnings 2021-08-28 09:33:38 +02:00
Aleksander Machniak
d6efee1da1 CS fixes, update changelog 2021-04-25 10:00:34 +02:00
Kwiatek
5e5e91c3b5 Add support for XCLIENT ADDR and LOGIN extension 2021-02-20 11:57:42 +01:00
Aleksander Machniak
3bbb01fe13 PHP8 fixes, regression fixes 2020-12-13 12:14:15 +01:00
Aleksander Machniak
85cfacc882 PHP8 fixes, CS fixes, short array syntax, tests 2020-11-29 12:20:51 +01:00
Aleksander Machniak
545a1569f1 Steps -> Actions refactoring (#7688)
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
b7d4596aa9 Fix regression (#7557) 2020-08-16 16:32:18 +02:00
Aleksander Machniak
bf15b5ed92 Fix regression 2020-08-16 12:28:04 +02:00
Aleksander Machniak
a5c2b4360c Fixes in context of undefined variables, and code style 2020-08-15 12:13:31 +02:00
johndoh
34a0af8964 Allow array in smtp_host config (#7296) 2020-05-16 14:05:28 +02:00
Aleksander Machniak
fe796d4040 Remove useless pass-by-reference 2020-01-31 09:58:03 +01:00
Aleksander Machniak
e7ebff56df PHPDoc fixes 2019-09-30 20:43:07 +02:00
Aleksander Machniak
1afa46d28d PHPDoc and CS fixes 2019-08-25 14:15:09 +02:00
Aleksander Machniak
e0792c3287 Skip RSET after authentication failure and QUIT 2019-05-29 11:08:09 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
943de28d2a Log IMAP/SMTP connection time in debug mode 2018-12-05 12:02:41 +01:00
urusha
75f37f8b0f SMTP GSSAPI support (#6417)
* krb_authentication support for smtp_connect
* smtp GSSAPI support
2018-09-25 08:31:08 +02:00
Aleksander Machniak
eaa81a5b61 Fix so invalid smtp_helo_host is never used, fallback to localhost (#6408) 2018-09-05 08:51:49 +02:00
Aleksander Machniak
4a5ca74724 Merge branch 'trusted-host-patterns' of https://github.com/dsoares/roundcubemail into dsoares-trusted-host-patterns 2018-01-01 10:26:09 +01:00
Aleksander Machniak
63a7d2313f Improve SMTPUTF8 support and fix relaxed email validation issues 2017-12-31 13:14:31 +01:00
Aleksander Machniak
5665344673 Merge branch 'smtputf8' of https://github.com/jprjr/roundcubemail into jprjr-smtputf8 2017-12-31 12:18:05 +01:00
Aleksander Machniak
eed4be3ba6 Display value of the SMTP message size limit in the error message (#6032) 2017-11-17 12:33:31 +01:00
dsoares
5282cbaff9 Check against trusted_host_patterns in rcube_utils::parse_host() 2017-11-07 14:39:57 +00:00
dsoares
50a9c8f777 Add option trusted_host_patterns 2017-10-21 12:56:47 +01:00
Aleksander Machniak
7fc626d527 Changed defaults for smtp_user (%u), smtp_pass (%p) and smtp_port (587) 2017-09-06 19:11:55 +02:00
ka7
9a35768c26 spelling fixes (#5690) 2017-03-12 12:14:19 +01:00
Aleksander Machniak
195dc11855 Support host-specific imap_conn_options/smtp_conn_options/managesieve_conn_options (#5136) 2016-09-30 18:02:23 +02:00
John Regan
0e809364e7 Support SMTPUTF8, relax email restrictions
If the FROM/TO portions of an email use non-ASCII characters,
check that the SMTP server supports the SMTPUTF8 extension.

Additionally, change some rules for parsing email addresses to
allow for more characters. Basically, SMTPUTF8 states that
nearly any printable character is a valid character in an
email address.
2016-05-17 11:33:34 -05:00
Aleksander Machniak
8dc756f319 Fix bug in long recipients list parsing for cases where recipient name contained @-char (#1490653) 2016-02-01 14:25:00 +01:00
Aleksander Machniak
4e1aa60c16 Make possible to disable authentication via rcube_smtp::connect() arguments (#1490621) 2016-01-07 09:48:18 +01:00
Aleksander Machniak
7e3298753a Use ternary operator where aplicable 2015-11-14 10:08:07 +01:00
Aleksander Machniak
b71eef6d7d Don't use private properties of Net_SMTP object 2015-07-26 16:47:45 +02:00
Aleksander Machniak
36a7f57345 Modify rcube_smtp::send_mail() so it is possible to send message by
specifying only the message stream no headers, it's for cases when
the stream already contains a complete message.
2015-06-17 06:59:31 -04:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
b59b72cc30 Fix "Non-static method PEAR::isError() should not be called statically" errors (#1490281) 2015-02-26 18:04:03 +01:00
Aleksander Machniak
62b847bea3 Fix "PHP Fatal error: Call to a member function getMessage() on a non-object" 2015-02-24 11:53:55 +01:00
Aleksander Machniak
a3fa844aad Make logged SMTP errors more verbose - log also real server response and codes 2015-01-28 09:39:23 +01:00
Thomas Bruederli
774deaded1 Don't EVER log passwords 2014-02-03 15:34:55 +01:00
Aleksander Machniak
357f9c831a Support SMTP socket context options via new config option 'smtp_conn_options' 2014-01-21 13:12:06 +01:00
Aleksander Machniak
43079d8e2d Simplify/fix debug lines truncation 2013-05-15 13:20:48 +02:00
Aleksander Machniak
9b8d22ebe1 Limit debug log entry (line) size to 4096 characters to prevent
memory_limit/preformance issues when debug is enabled (imap, smtp, db)
2013-05-08 20:19:58 +02:00
Aleksander Machniak
3725cfb245 Avoid uninitialized/unused variables 2013-05-07 15:12:22 +02:00
Aleksander Machniak
ce89ecd542 Fix various PHP code bugs found using static analysis (#1489086) 2013-05-06 12:23:27 +02:00
Aleksander Machniak
232535f76e Add option to use envelope From address for MDN responses (#1488880) 2013-01-02 19:25:07 +01:00
Aleksander Machniak
d2534c63f2 Cleanup, remove file paths from doc 2012-12-18 09:07:00 +01:00
Aleksander Machniak
9945f24274 CS fixes 2012-12-18 09:01:19 +01:00
Aleksander Machniak
5b06e24265 Cleaner way of handling user password in framework-based programs with no session 2012-11-26 10:27:19 +01:00
Aleksander Machniak
ba6f21caeb Framework files moved to lib/Roundcube 2012-11-21 19:52:03 +01:00