Aleksander Machniak
fff19b8052
Unify SMTP errors handling
3 years ago
Rafael Cossovan
20d18ae5bf
Fix SMTP XCLIENT extension when not using STARTTLS. ( #8581 )
3 years ago
Mickaël
6fa6f89b02
Update rcube_smtp.php ( #8508 )
Correction on the issue explain here : https://github.com/roundcube/roundcubemail/issues/8507
3 years ago
Aleksander Machniak
18f1a33fcc
Fix bug where SMTP password didn't work if it contained '%p' ( #8435 )
3 years ago
Aleksander Machniak
7b81a71393
Don't use TLS by default ( #8359 )
Also unify the common code with a new rcube_utils::parse_host_uri() method
4 years ago
Aleksander Machniak
893216cb29
Unified and simplified services connection options ( #8310 )
4 years ago
Chris Osgood
af2ccbdac9
SMTP: If requested use TLS also without authentication ( #4590 ) ( #8111 )
This fixes the long-standing issue where STARTTLS would only be issued if user
authorization was done.
4 years ago
Aleksander Machniak
f2688ba492
Use ?? operator where applicable
4 years ago
Aleksander Machniak
de74c656ce
Fix PHP 8.1 warnings
4 years ago
Aleksander Machniak
d6efee1da1
CS fixes, update changelog
4 years ago
Kwiatek
5e5e91c3b5
Add support for XCLIENT ADDR and LOGIN extension
5 years ago
Aleksander Machniak
3bbb01fe13
PHP8 fixes, regression fixes
5 years ago
Aleksander Machniak
85cfacc882
PHP8 fixes, CS fixes, short array syntax, tests
5 years ago
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
5 years ago
Aleksander Machniak
b7d4596aa9
Fix regression ( #7557 )
5 years ago
Aleksander Machniak
bf15b5ed92
Fix regression
5 years ago
Aleksander Machniak
a5c2b4360c
Fixes in context of undefined variables, and code style
5 years ago
johndoh
34a0af8964
Allow array in smtp_host config ( #7296 )
5 years ago
Aleksander Machniak
fe796d4040
Remove useless pass-by-reference
6 years ago
Aleksander Machniak
e7ebff56df
PHPDoc fixes
6 years ago
Aleksander Machniak
1afa46d28d
PHPDoc and CS fixes
6 years ago
Aleksander Machniak
e0792c3287
Skip RSET after authentication failure and QUIT
6 years ago
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
6 years ago
Aleksander Machniak
943de28d2a
Log IMAP/SMTP connection time in debug mode
7 years ago
urusha
75f37f8b0f
SMTP GSSAPI support ( #6417 )
* krb_authentication support for smtp_connect
* smtp GSSAPI support
7 years ago
Aleksander Machniak
eaa81a5b61
Fix so invalid smtp_helo_host is never used, fallback to localhost ( #6408 )
7 years ago
Aleksander Machniak
63a7d2313f
Improve SMTPUTF8 support and fix relaxed email validation issues
8 years ago
Aleksander Machniak
eed4be3ba6
Display value of the SMTP message size limit in the error message ( #6032 )
8 years ago
dsoares
5282cbaff9
Check against trusted_host_patterns in rcube_utils::parse_host()
8 years ago
dsoares
50a9c8f777
Add option trusted_host_patterns
8 years ago
Aleksander Machniak
7fc626d527
Changed defaults for smtp_user (%u), smtp_pass (%p) and smtp_port (587)
8 years ago
ka7
9a35768c26
spelling fixes ( #5690 )
9 years ago
Aleksander Machniak
195dc11855
Support host-specific imap_conn_options/smtp_conn_options/managesieve_conn_options ( #5136 )
9 years ago
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.
9 years ago
Aleksander Machniak
8dc756f319
Fix bug in long recipients list parsing for cases where recipient name contained @-char ( #1490653 )
10 years ago
Aleksander Machniak
4e1aa60c16
Make possible to disable authentication via rcube_smtp::connect() arguments ( #1490621 )
10 years ago
Aleksander Machniak
7e3298753a
Use ternary operator where aplicable
10 years ago
Aleksander Machniak
b71eef6d7d
Don't use private properties of Net_SMTP object
10 years ago
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.
10 years ago
Aleksander Machniak
a958748947
CS fixes
10 years ago
Aleksander Machniak
b59b72cc30
Fix "Non-static method PEAR::isError() should not be called statically" errors ( #1490281 )
11 years ago
Aleksander Machniak
62b847bea3
Fix "PHP Fatal error: Call to a member function getMessage() on a non-object"
11 years ago
Aleksander Machniak
a3fa844aad
Make logged SMTP errors more verbose - log also real server response and codes
11 years ago
Thomas Bruederli
774deaded1
Don't EVER log passwords
12 years ago
Aleksander Machniak
357f9c831a
Support SMTP socket context options via new config option 'smtp_conn_options'
12 years ago
Aleksander Machniak
43079d8e2d
Simplify/fix debug lines truncation
12 years ago
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)
12 years ago
Aleksander Machniak
3725cfb245
Avoid uninitialized/unused variables
12 years ago
Aleksander Machniak
ce89ecd542
Fix various PHP code bugs found using static analysis ( #1489086 )
12 years ago
Aleksander Machniak
232535f76e
Add option to use envelope From address for MDN responses ( #1488880 )
13 years ago