Wykres commitów

34 Commity (master)

Autor SHA1 Wiadomość Data
Alex Puiu 99ee5403e0 fixes 2022-05-19 11:47:30 +03:00
Alex Puiu 2ed824c91e Solve bug when emails were marked for deletion but not added to deck 2022-05-19 11:16:03 +03:00
Alex Puiu 395d9ed512 Delete mail after processing and use psr-4 for autoload. fixes #17 2022-05-17 11:52:56 +03:00
Lucian Pricop 1f1973fd7f
Merge pull request #22 from matbgn/master
Add possibility to specify user via mail subject "u-" + Add basic Docker implementation
2022-05-11 14:01:12 +03:00
Lucian Pricop e14a83dfcd
Merge pull request #21 from kidhab/patch-1
Add check for MIME encoded messages
2022-05-11 13:53:24 +03:00
matbgn 2d0bfb5b70 Basic implementation of Dockerfile + fix mail used if userId differ from original sender 2022-04-29 13:13:48 +02:00
Alex Puiu 7eafb95fcd convert to MD only if needed 2022-04-13 14:15:58 +03:00
Alex Puiu 4c3f68a52c Convert HTML description to MD 2022-04-13 13:31:54 +03:00
kidhab f84b5c5f09
Add check for MIME encoded messages
As far as I understand MIME-encoded message can be broken down into parts based upon its contents. While most mail programs add the plain text part as the first part this is not true for all programs. In fact mail2deck couldn't import the body when processing certain plain text mails with attachments - because the plain text part wasn't  at position 1.1.

With this fix imap_fetchbody requests sub-part 1 of part 1 and, if it is empty/ non-existent, it requests part 1.
2022-04-11 20:19:59 +02:00
kidhab 73703981eb Add setting to disable mail notifications 2022-03-04 11:28:32 +01:00
Alex Puiu 3ac5b2785e Use 'reply_to' attribute instead of 'from' to reply & assign sender. 2022-02-17 13:27:00 +02:00
Alex Puiu c728e97165 Improvements for encoded description. 2022-02-11 13:37:20 +02:00
Alex Puiu fa3d1eace0 Better way to handle encoded description 2022-02-11 11:49:49 +02:00
Alex Puiu dfe2a048d3 Decode description if needed. 2022-02-11 10:27:23 +02:00
Alex Puiu 6f798eb6bd Add card to the top - update 2022-02-10 17:29:56 +02:00
Alex Puiu 99cb30dd9e Add card to the top 2022-02-10 17:17:53 +02:00
Alex Puiu 99b26c4bab Modify function to be accessible in lower versions of php. 2022-02-10 16:24:29 +02:00
Alex Puiu 05aaaefae7 find board from mail address if has multiple words. 2022-02-08 16:59:33 +02:00
Alex Puiu 27e908f2c3 remove attachments from directory if card was not created. 2022-02-08 14:19:12 +02:00
Alex Puiu 8d42b8c6d3 inform sender if card was not created. 2022-02-08 13:34:16 +02:00
Alex Puiu 34a8cd8438 set board by email address delimiter (+). 2022-02-04 16:41:37 +02:00
Alex Puiu e616ebfffb reply to sender with newly created card, fixes #13 2022-02-04 14:57:16 +02:00
Alex Puiu 77f99de5bb Assign user to newly created card if has NC account. 2022-02-04 10:46:44 +02:00
Alex Puiu db0e9553d1 add mail attachments to deck & bug fixes 2022-02-03 15:05:17 +02:00
ben dadb745887 fixes newroco/mail2deck#11 added support for special characters in mail subject and body 2022-01-15 18:24:20 +01:00
Ben P 52d3ceb66e Allow flags for connecting to IMAP server to be specified in config.php and update README to show how to use a non-self-hosted IMAP server. 2021-12-30 17:29:25 -07:00
a11exandru 9d85ec0bb8 some changes 2019-12-19 16:37:42 +02:00
a11exandru c3adf6018a Change recicipient delimiter to + 2019-12-16 20:21:42 +02:00
a11exandru 4ef1ac90c3 delete print_r. 2019-12-16 20:00:43 +02:00
a11exandru acb023e4f6 ssl validation. 2019-12-16 19:57:55 +02:00
a11exandru 5a5bc0c9f3 add up to 5 cards in a single run. 2019-12-16 19:56:37 +02:00
a11exandru 8bd8bad272 Error reporting disabled for warnings. 2019-12-13 21:10:45 +02:00
a11exandru ed1fb4e4b5 some changes. 2019-12-13 20:22:40 +02:00
Alex Puiu bf710f9bbd create a lib folder for functions 2019-12-13 20:09:05 +02:00