easy_smtp 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/easy_smtp/smtp.rb +0 -4
- 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: '085d105f1752b3f6a0dab1c3107fc15ae443397ab32f5a76039c406bacef6e29'
|
4
|
+
data.tar.gz: 9c475f06f9afbe6fdcd6bb72ae3bedc818126fc85a4238d6d20dff75ed9b0bd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3e31dd073680318f8ce857e50e2c63553a6a7cb21fb6875261411724a280d3ab68425eb7500e1b68c90c68db38c5e51780748765def999ae43c3519b40f1536
|
7
|
+
data.tar.gz: de1b793f2686497098eb39353dc8dfa860675c1a05a5ac756f91207710def0a855e32675cf808801009f77916d68aa253e5a4330929d6ccf3c6598593a63fb1d
|
data/lib/easy_smtp/smtp.rb
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
module EasySMTP
|
2
2
|
module_function
|
3
3
|
|
4
|
-
smtp_server = EasySMTP.config['smtp']['server']
|
5
|
-
smtp_port = EasySMTP.config['smtp']['port']
|
6
|
-
raise "SMTP server missing from config. Add the entry to the #{EasySMTP.config.path} \"smtp\": { \"server\": \"hostname_or_ip\" }" if smtp_server.nil? || smtp_server.empty?
|
7
|
-
|
8
4
|
### Example parameter for send_email method
|
9
5
|
# email_data = {
|
10
6
|
# recipients: 'example@recipient.com;somegal@test.com',
|