embulk-output-send_email 0.1.4 → 0.1.5
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 +26 -8
- data/build.gradle +1 -1
- data/classpath/{embulk-output-send_email-0.1.4.jar → embulk-output-send_email-0.1.5.jar} +0 -0
- data/example/config.yml +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 118660efc733c52bfa77b33776ba57a70edb2232799d02cc594390ea8d771a24
|
4
|
+
data.tar.gz: 5a8204672003c5130606d455fa673f8a7022f02def287bb750f556697bbd1320
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a1c91336cf0df5a30711accc4120981c9117d6d4f0c15008b60e0e53fe071e613b778a6954ec74fd9f9b8a6717de2fe50a73457ca5e48b6b98214501a03d2c6
|
7
|
+
data.tar.gz: 4fd499e5b9fccabe1ba8a2040c64bedc0cc35b96a03ea6f44908ce65d277a1d5daf7efe4be1a39c7b9feb7de2ed1bd4058ec3a35042198b1f9bba7629420ee85
|
data/README.md
CHANGED
@@ -13,17 +13,26 @@ An output plugin for Embulk to send email with data
|
|
13
13
|
|
14
14
|
- **send_email**: Required attribute for this output plugin
|
15
15
|
- **to**: To whom you want to send email mention the email ID(required)
|
16
|
+
- **cc**: Mail id of others to send carbon copy
|
16
17
|
- **from**: From which email ID you want to send (required)
|
17
18
|
- **password**: Password of your email ID from which you want to send (required)
|
18
19
|
- **port**: Port of email (for gmail its `587`)(required)
|
20
|
+
- **username**: Username of authentic user (required)
|
19
21
|
- **host**: Host of your email (For gmail `smtp.gmail.com`) (required)
|
20
|
-
- **
|
21
|
-
- **
|
22
|
-
|
22
|
+
- **subject**: Subject for the mail body
|
23
|
+
- **row**: How many row you want to send with email mention like 1,2,3
|
24
|
+
- **format_type**: Mention file type like (example: json,html) (required)
|
25
|
+
- **protocol**: TLSv1.2 (required)
|
26
|
+
- **auth**: When authentication is required make it 'true' otherwise default it is 'false'
|
27
|
+
- **enable_starttls**: true/ false (required)
|
28
|
+
- **template**: If format_type is 'html', provide here the path of .html/ .txt
|
29
|
+
- **is_html**: If template is 'html' put it true, if it is 'txt' put it as false, by default it is false
|
30
|
+
|
31
|
+
```NOTE: If format_type is html and path is given in field 'template', make sure - The templates should have '{{data}}' placeholder so that the data generated by send_email plugin will be put here```
|
32
|
+
|
23
33
|
## Example - columns
|
24
34
|
|
25
35
|
Say input.csv is as follows:
|
26
|
-
|
27
36
|
|
28
37
|
```
|
29
38
|
year country_code country_name literacy_rate
|
@@ -43,13 +52,22 @@ Say input.csv is as follows:
|
|
43
52
|
```yaml
|
44
53
|
out:
|
45
54
|
type: send_email
|
46
|
-
to:
|
47
|
-
|
48
|
-
|
55
|
+
to:
|
56
|
+
- abc@gmail.com
|
57
|
+
- def@gmail.com
|
58
|
+
from: pqr@gmail.com
|
59
|
+
password: password
|
49
60
|
port: 587
|
61
|
+
username: pqr@gmail.com
|
50
62
|
host: smtp.gmail.com
|
63
|
+
subject: XYZ123
|
51
64
|
row: 3
|
52
|
-
|
65
|
+
format_type: html
|
66
|
+
protocol: TLSv1.2
|
67
|
+
auth: true
|
68
|
+
enable_starttls: true
|
69
|
+
template: C:\Users\Abhishek Gupta\Desktop\github\embulk-output-send_email\example\email.txt
|
70
|
+
is_html: false
|
53
71
|
```
|
54
72
|
|
55
73
|
|
data/build.gradle
CHANGED
Binary file
|
data/example/config.yml
CHANGED
@@ -23,15 +23,15 @@ filters:
|
|
23
23
|
out:
|
24
24
|
type: send_email
|
25
25
|
to:
|
26
|
-
-
|
27
|
-
-
|
28
|
-
from:
|
29
|
-
password:
|
26
|
+
- abc@gmail.com
|
27
|
+
- def@gmail.com
|
28
|
+
from: pqr@gmail.com
|
29
|
+
password: password
|
30
30
|
port: 587
|
31
|
-
username:
|
31
|
+
username: pqr@gmail.com
|
32
32
|
host: smtp.gmail.com
|
33
33
|
subject: XYZ123
|
34
|
-
|
34
|
+
row: 3
|
35
35
|
format_type: html
|
36
36
|
protocol: TLSv1.2
|
37
37
|
auth: true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-output-send_email
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Infoobjects Inc.
|
@@ -53,7 +53,7 @@ files:
|
|
53
53
|
- classpath/activation-1.1.jar
|
54
54
|
- classpath/commons-codec-1.10.jar
|
55
55
|
- classpath/commons-logging-1.2.jar
|
56
|
-
- classpath/embulk-output-send_email-0.1.
|
56
|
+
- classpath/embulk-output-send_email-0.1.5.jar
|
57
57
|
- classpath/google-api-client-1.26.0.jar
|
58
58
|
- classpath/google-api-client-java6-1.26.0.jar
|
59
59
|
- classpath/google-api-services-gmail-v1-rev83-1.23.0.jar
|