Commit Graph

155 Commits

Author SHA1 Message Date
smizrahi dbd4e20c34 fix(mail): Fix images in attachements when replying to a mail. Fixes #5731 2023-04-06 09:13:08 +02:00
smizrahi d49ef4047a fix(mail): Fix invalid forward template when replying. Closes #5726 2023-04-04 08:45:12 +02:00
smizrahi 4dc8ef946d fix(mail): Fix images not displayed when forward / reply to a mail. Fixes #3981 2023-03-07 10:17:02 +01:00
smizrahi 8001e3f6ab feat(alarms): Add possibility to use SMTP master account for system alarms. Fixes #5565. 2023-02-16 18:51:28 +01:00
smizrahi 714acfc838 fix(security): Security fix for WSTG-INPV-02. Add XSS protection on folders and mail title / content 2022-11-14 14:36:46 +01:00
Francis Lachapelle 31da2d9f59 fix(mail): case insensitve check of sender address with certificate 2022-03-07 10:27:48 -05:00
Francis Lachapelle bd5a5e3049 fix(mail): remove signature prior to sign the message 2022-02-11 10:06:57 -05:00
Francis Lachapelle 54b163da2d fix(mail): S/MIME improvements
Fixes #4891
Fixes #5450
2022-01-21 16:24:13 -05:00
Francis Lachapelle 4ad2105543 fix(mail): sign and send only if smime certificate matches sender address
Fixes #5407
2021-12-03 16:54:27 -05:00
Francis Lachapelle 9e364c647f fix(mail): encode text MIME parts in quoted-printable
This reverts commit 6cf3d99125.

Fixes #5378
2021-08-25 14:59:24 -04:00
Francis Lachapelle 6cf3d99125 fix(mail): encode text MIME parts in quoted-printable
This will limit each line to a maximum of 70 characters.

Fixes #5376
2021-08-23 11:08:25 -04:00
Francis Lachapelle fc4f5d2161 feat(mail): new option to force default identity
Users can now force the default identity to always be used when replying
or forwarding a message.
2021-01-14 15:23:43 -05:00
Francis Lachapelle d930821d6b feat(mail): handle multiple mail identities
Fixes #5117
2020-08-03 22:48:45 -04:00
Francis Lachapelle a8bbaf01d7 feat(mail): handle multiple mail identities
Fixes #5087
2020-07-30 15:16:28 -04:00
Francis Lachapelle 9c391b8d8d fix(mail): use unique names for attachments
Fixes #5086
2020-07-23 12:56:35 -04:00
Francis Lachapelle d29c2b2c7b fix(mail): add all unknown recipients to an address book
When SOGoMailAddOutgoingAddresses is enabled, all unknown recipients are
now added to the destination address book.
2020-07-07 15:46:38 -04:00
Francis Lachapelle c99170b9bc fix(mail): pick proper "from" address when replying/forwarding
Fixes #5056
2020-07-06 12:43:55 -04:00
Francis Lachapelle f8aa338e64 feat(mail): handle multiple mail identities
Fixes #768, fixes #4602
2020-06-18 16:53:42 -04:00
Francis Lachapelle 5b818e8ea9 Fix behaviour of SOGoMailKeepDraftsAfterSend
Fixes #4830
2019-09-27 09:48:58 -04:00
Ludovic Marcotte 676d2e6790 (feat) added support for S/MIME opaque signing (fixes #4582) 2019-08-19 10:37:15 -04:00
Ludovic Marcotte 0e038a62fd (fix) improve handling of signer certificate (fixes #4742) 2019-05-08 08:09:14 -04:00
Ludovic Marcotte 98463f2ff2 (fix) sent messages cannot be replied to their BCC email addresses (fixes #4460) 2019-02-19 14:50:49 -05:00
Francis Lachapelle 9a8415c095 Fix refresh of drafts folder when saving a draft 2019-01-21 16:24:07 -05:00
Francis Lachapelle b658faa8f2 Fix support for SOGoMaximumMessageSizeLimit 2018-08-29 11:28:08 -04:00
Francis Lachapelle 120f1280a4 Use matching recipient address when replying
Fixes #4495
2018-07-09 15:49:36 -04:00
Ludovic Marcotte a257607a06 (fix) make sure we don't try to encrypt a mail for the Sent folder without cert in place 2018-06-22 11:53:46 -04:00
Ludovic Marcotte 511aa63a34 (fix) remaining S/MIME fixes to handle image/CIDs in HTML mails 2018-01-23 10:35:46 -05:00
Ludovic Marcotte c875302a86 (fix) proper handling of file attachments in S/MIME encrypted mails 2018-01-05 13:55:05 -05:00
Ludovic Marcotte 7824c35d95 (fix) better handling of encrypted message sending 2018-01-04 11:30:00 -05:00
Ludovic Marcotte 95bf606bf2 (feat) added S/MIME composition support 2017-12-23 07:15:47 -05:00
Ludovic Marcotte c29c6dc621 (fix) properly encode MIME parts with embedded images in HTML parts (fixes #4150) 2017-08-23 15:45:14 -04:00
Ludovic Marcotte 54eedb3363 (fix) moved bcc handling code to the generic mail sending method 2017-02-09 08:56:02 -05:00
Francis Lachapelle 8404de758b Improve error messages around draft attachments 2017-01-06 16:12:42 -05:00
Francis Lachapelle 5ec7ad54bb Fix error handling when draft is too big 2017-01-06 15:45:30 -05:00
Ludovic Marcotte 2cebee42b7 (feat) added new SOGoMaximumMessageSizeLimit config parameter (fixes #3510)
Conflicts:

	SoObjects/Mailer/SOGoDraftObject.m
2016-12-28 10:23:19 -05:00
Francis Lachapelle 011fae8a65 Download attachments of a message as a zip archive 2016-12-07 14:38:33 -05:00
Francis Lachapelle 287c57c994 Restore SOGoMailAddOutgoingAddresses functionality 2016-08-12 11:38:05 -04:00
Francis Lachapelle 80338daf91 Expunge mailbox on specific actions
Current mailbox is now expunged when leaving the Mail module. The drafts
mailbox is also expunged when a message is sent.
2016-07-27 11:56:28 -04:00
Francis Lachapelle bfda86e31c Fix recipients of reply message from Sent mailbox
Fixes #2625
2016-06-01 16:22:25 -04:00
Francis Lachapelle 1dca078c56 Improve handling of attachments names with quotes
Partially resolves #2272
2016-05-31 15:31:03 -04:00
Ludovic Marcotte 557797d634 (fix) don't use removeItemAtPath - it is not available on Precise 2016-05-10 15:51:32 -04:00
Francis Lachapelle a1e0f2767f Fix sender addresses of draft
The sender addresses select menu is now populated with the identities of
the selected account *only*. The chosen sender address is also restored
from the draft.

Fixes #3577
2016-05-10 14:41:24 -04:00
Ludovic Marcotte ad67239cda (fix) fixed bogus headers generation when stripping folded bcc headers (fixes #3664) 2016-05-10 08:52:54 -04:00
Francis Lachapelle 2e9a7c17f5 Fix handling of priority mail header 2016-03-30 12:22:40 -04:00
Ludovic Marcotte 638dbc904c (fix) handle empty body data correctly (fixes #3581) 2016-03-18 12:54:50 -04:00
Patrice Levesque ce38a9c606 Fix one warning: expected ‘struct NSError **’ but argument is of type ‘id’
nil is not recognized by GCC as a (NSError**), but as an (id).  NULL works the
same but does not spawn warnings.
2016-03-07 10:34:41 -05:00
Patrice Levesque a813e38897 Comment out sendMail method in SOGoDraftObject and replace its sole known usage by sendMailAndCopyToSent.
In a 2011-09-26 commit (in Changelog.old), I understand the author wanted to
phase sendMail out and replace it by sendMailAndCopyToSent.  Since there are
compilation warnings related to sendMail, removing the sendMail method and
replacing the sole call to it seemed like the cleanest way.
2016-03-07 10:34:41 -05:00
Francis Lachapelle 07d47829ab Fix default priority of sent messages
Fixes #3542
2016-02-25 11:53:34 -05:00
Patrice Levesque 7c25b53fdf Remove pointless #imports from .m and .h files
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 16:11:52 -05:00
Ludovic Marcotte b3bc6bb7dc Applied changes coming from v2/PR#184. 2016-01-18 09:26:07 -05:00