actionmailbox-imap 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/config/actionmailbox_imap.yaml +18 -4
- data/lib/actionmailbox/imap/version.rb +1 -1
- data/lib/generators/imap/templates/config.yml +16 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37710107210c5ddec08e3b9fe1706ba0802d8a6890cb13c4368afb6387fe54ff
|
4
|
+
data.tar.gz: '0804774914cad237468d29e1eccb4369c094a33515dbc72a3791251363448f02'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4de92fb2f82dd2c30c97a4ccb4fb9b40eed310e97d2022266b94a3d98e84d5e1042ca3b8c4a33622abb18d8561a5515807371b479d892eaa6cebcc162efb6c74
|
7
|
+
data.tar.gz: d23dcce0383eb7db0a1cddd7ffc0e01a34b6a004d4d739ba10dcaf798028eea430d3b0c217d70177b571ac1ed4d24d1e58b02bf8fc89fcf07c93addbe52163a8
|
data/README.md
CHANGED
@@ -53,11 +53,13 @@ Prepare your IMAP server and account by ensuring/creating the mailboxes for `ing
|
|
53
53
|
|
54
54
|
Update the `config/imap.yml` that was generated to include server and credentials information, `mailbox`. Currently SSL is required.
|
55
55
|
|
56
|
-
Run the [ActionMailbox::IMAP Client](https://github.com/kimmelsg/actionmailbox-imap/blob/master/CLIENT.md) like so `URL=... INGRESS_PASSWORD=... ./actionmailbox-imap` to begin processing emails.
|
56
|
+
Run the [ActionMailbox::IMAP Client](https://github.com/kimmelsg/actionmailbox-imap/blob/master/CLIENT.md) like so `URL=... INGRESS_PASSWORD=... ./actionmailbox-imap` from within rails root to begin processing emails.
|
57
|
+
|
58
|
+
`NOTE: Running the client will begin immediately begin processing unread emails in the configured mailbox. The server (URL) needs to be running. You may also want to start from a empty, or plan on watching the process to ensure no performance issues occur.`
|
57
59
|
|
58
60
|
### Rake Task
|
59
61
|
|
60
|
-
The rake task behaves much like that of the other `action_mailbox:ingress:...` commands in that it relays the message the same way.
|
62
|
+
The rake task behaves much like that of the other `action_mailbox:ingress:...` commands in that it relays the message the same way.
|
61
63
|
|
62
64
|
## Installation
|
63
65
|
Add this line to your application's Gemfile:
|
@@ -1,6 +1,20 @@
|
|
1
|
-
server: "
|
1
|
+
server: "outlook.office365.com"
|
2
|
+
|
3
|
+
# Currently TLS is required
|
2
4
|
port: 993
|
3
5
|
tls: true
|
4
|
-
|
5
|
-
|
6
|
-
|
6
|
+
|
7
|
+
username: "walter2@kimmel.com"
|
8
|
+
password: "Kimmel trench capon2"
|
9
|
+
|
10
|
+
# The mailbox to select unread messages from
|
11
|
+
mailbox: "RETRY"
|
12
|
+
|
13
|
+
#
|
14
|
+
# Workers
|
15
|
+
#
|
16
|
+
# This is the number of threads used to process
|
17
|
+
# all unread messages from the IMAP server.
|
18
|
+
#
|
19
|
+
# DO NOT use more workers than you have threads available.
|
20
|
+
workers: 4
|
@@ -1,6 +1,20 @@
|
|
1
|
-
server: "
|
1
|
+
server: "some.server.com"
|
2
|
+
|
3
|
+
# Currently TLS is required
|
2
4
|
port: 993
|
3
5
|
tls: true
|
4
|
-
|
6
|
+
|
7
|
+
username: "user@domain.com"
|
5
8
|
password: "password"
|
9
|
+
|
10
|
+
# The mailbox to select unread messages from
|
6
11
|
mailbox: "INBOX"
|
12
|
+
|
13
|
+
#
|
14
|
+
# Workers
|
15
|
+
#
|
16
|
+
# This is the number of threads used to process
|
17
|
+
# all unread messages from the IMAP server.
|
18
|
+
#
|
19
|
+
# DO NOT use more workers than you have threads available.
|
20
|
+
workers: 4
|