Aleksander Machniak
84a79ee8db
Move common mail composing/sending code to new rcmail_sendmail class
...
This is needed to make simpler an implementation of e.g.
- Mail Bounce feature (#4985 ),
- Direct Draft sending (#4998 ),
- Fast reply from mail preview (#5129 ).
7 years ago
Aleksander Machniak
402a463448
Use base64 for headers encoding in ISO-2022-JP
7 years ago
Aleksander Machniak
6f87a32052
Use 7bit encoding for ISO-2022-* charsets in sent mail ( #5640 )
7 years ago
Aleksander Machniak
6dee73a0ec
Support both comma and semicolon as recipient separator, drop recipients_separator option ( #5092 )
7 years ago
Aleksander Machniak
78c54c128d
Fix bug where invalid recipients could be silently discareded ( #5739 )
8 years ago
Aleksander Machniak
3e53ac7491
Remove note about mail() function
8 years ago
Aleksander Machniak
4f5ec65a36
Close SMTP connection ASAP after the message has been sent
...
We should not keep the connection open until the script shuts down.
It may take long time e.g. to save the message in IMAP.
8 years ago
Aleksander Machniak
dad1852126
Fix _from argument validation
8 years ago
Aleksander Machniak
2dbbaf7739
Warn about too many disclosed recipients in composed email [max_disclosed_recipients] ( #5132 )
...
Allow to omit a subject when sending an email (#5068 )
8 years ago
Aleksander Machniak
062d95503e
Fix bug where Message-ID domain part was tied to username instead of current identity ( #5385 )
8 years ago
Aleksander Machniak
ee895a2c96
Remove PHP mail() support, smtp_server is required now ( #5340 )
8 years ago
Aleksander Machniak
930e363e55
Fix handling of 'mailto' and 'error' arguments in message_before_send hook ( #5347 )
8 years ago
Aleksander Machniak
0ae4001121
Don't create multipart/alternative messages with empty text/plain part ( #5283 )
8 years ago
Thomas Bruederli
44894414cd
Avoid sending completely empty text parts for multipart/alternative messages ( #5283 )
9 years ago
Aleksander Machniak
6d1337e1df
Fix regression where setting Answered/Forwarded flag didn't work when sending an email
9 years ago
Aleksander Machniak
ce3105c58f
Reply/Reply-All/Forward/Change-format buttons for message/rfc822 preview
9 years ago
Aleksander Machniak
8271597836
Use ternary operator where applicable
9 years ago
Aleksander Machniak
4cd087ea2e
Fixed mailvelope-generated messages structure (required Mail_Mime-1.10.0)
9 years ago
Aleksander Machniak
e250f00d90
Fix PHP warnings when sending mailvelope-encrypted mail
9 years ago
Thomas Bruederli
f189d72943
Merged branch 'dev-mailvelope'
9 years ago
Aleksander Machniak
fdbb1c95ea
Fix missing HTTP_X_FORWARDED_FOR address in generated Received header
9 years ago
Aleksander Machniak
a63f14ec40
Emoticons-related code refactoring
...
- Emoticons: All emoticons-related functionality is handled by the plugin now
- Emoticons: Added option to switch on/off emoticons in compose editor (#1485732 )
- Emoticons: Added option to switch on/off emoticons in plain text messages
- Plugin API: Added disabled_plugins an disabled_buttons options in html_editor hook
- Plugin API: Added html2text hook
9 years ago
Aleksander Machniak
d5f6d655da
Workaround TinyMCE issue with <p> </p> sequence ( #1490463 )
9 years ago
Aleksander Machniak
4b72a1f498
Fix error when using back button after sending an email ( #1490009 )
9 years ago
Aleksander Machniak
8b0d817919
Fix draft removal after a message is sent and storing sent message is disabled ( #1490467 )
9 years ago
Aleksander Machniak
a958748947
CS fixes
10 years ago
Thomas Bruederli
40d152cfdc
Make encrypted pgp/mime message composition work
10 years ago
Aleksander Machniak
0a4e0921d3
Plugin API: Added message_ready hook - the last chance to modify Mail_Mime object before saving or sending the message
10 years ago
Aleksander Machniak
f02fe3c344
Remove redundant encoding of message subject with mb_encode_mimeheader() ( #1490295 )
10 years ago
Aleksander Machniak
b59b72cc30
Fix "Non-static method PEAR::isError() should not be called statically" errors ( #1490281 )
10 years ago
Aleksander Machniak
97ee4c40c1
Don't sent the message again in saveonly mode
10 years ago
Aleksander Machniak
c5c8e73351
Improved handling of storage errors after message is sent
...
After sending a message it is stored in Sent folder, this operation
may fail, e.g. because of "over quota" error. In such a case we'll
not close the compose window, but display the error and, if user clicks
Send/Save button, we'll display a dialog informing about the situation and
providing an option to try the save operation again.
10 years ago
Aleksander Machniak
216b31dd99
Fix so "over quota" errors are displayed also in message compose page
...
This also fixes over quota responses on cyrus imap which uses "Over quota" string and no error identifier.
10 years ago
Aleksander Machniak
d67071f228
Fix saving/sending emoticon images when assets_dir is set (Kolab #4608 )
10 years ago
Aleksander Machniak
9ed6d46df7
Fix refreshing of drafts list when sending a message which was saved in meantime ( #1490238 )
10 years ago
Aleksander Machniak
5d42a9353b
Fix bug where drafts list wasn't refreshed after draft message was sent from another window ( #1490238 )
10 years ago
Aleksander Machniak
f6502176f8
Hide MDN and DSN options in compose if disabled by admin ( #1490221 )
10 years ago
Aleksander Machniak
10f133bae8
Fix bug where sent message was saved in Sent folder even if disabled by user ( #1490208 )
10 years ago
Aleksander Machniak
a16cf3bb7c
Replace all attachment-image URIs with CID URIs, not only src and poster attributes ( #1490132 )
10 years ago
Aleksander Machniak
0d96720f25
Fixed typo
10 years ago
Aleksander Machniak
d165d11012
Fix so attachment charset is set in headers of forward/draft message ( #1490109 )
10 years ago
Aleksander Machniak
e1b8f44e3f
Fix invalid Content-Type header when send_format_flowed=false ( #1489992 )
10 years ago
Aleksander Machniak
10bf6b58ce
Fix so address format errors are ignored when saving a draft ( #1489954 )
11 years ago
Aleksander Machniak
c5bfe69e21
Improved video support, all tinymce related resources moved to program/js/tinymce/roundcube dir
11 years ago
Aleksander Machniak
646b64107a
Implemented Text Editor widget that integrates all operations on
...
textareas including HTML editor and spellchecking
11 years ago
Aleksander Machniak
731d190fec
Merge branch 'tinymce4'
...
Conflicts:
program/js/app.js
program/js/editor.js
program/js/tiny_mce/tiny_mce.js
program/steps/utils/spell_html.inc
11 years ago
Aleksander Machniak
f56e70bd04
TinyMCE4: Fix spellchecker resume
11 years ago
Aleksander Machniak
eda92ed4c0
Improved display of plain text messages and text to HTML conversion ( #1488937 )
...
Now instead of <pre> we use <div class="pre"> styled with monospace
font. We replace whitespace characters with non-breaking spaces where
needed. I.e. plain text is always unwrappable, until it uses format=flowed,
in such a case only flowed paragraphs are wrappable.
Also conversion of text to HTML in compose editor was modified in the same way.
11 years ago
Aleksander Machniak
89d6ce6846
Update to TinyMCE 4.x
11 years ago
Aleksander Machniak
65ac8302e4
Fix missing Mail-Followup-To header in sent mail ( #1489829 )
11 years ago