minimail 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/minimail/version.rb +1 -1
- data/lib/minimail.rb +2 -2
- data/readme.md +31 -5
- metadata +10 -3
data/lib/minimail/version.rb
CHANGED
data/lib/minimail.rb
CHANGED
data/readme.md
CHANGED
@@ -1,14 +1,40 @@
|
|
1
|
-
|
1
|
+
Installation
|
2
|
+
=========
|
3
|
+
|
4
|
+
With bundler
|
5
|
+
------------
|
6
|
+
|
7
|
+
# gem install bundler
|
8
|
+
gem 'minimail'
|
9
|
+
bundle
|
2
10
|
|
3
|
-
|
11
|
+
Without bundler
|
12
|
+
---------------
|
13
|
+
|
14
|
+
require 'minimail'
|
15
|
+
|
16
|
+
Usage
|
17
|
+
=====
|
18
|
+
|
19
|
+
# Send an email one-liner
|
4
20
|
Minimail::Mail.new(:subject => "check it!", :recipients => "bob@example.com").deliver
|
5
21
|
|
6
|
-
# DSL style
|
22
|
+
# Send an email using a DSL style
|
7
23
|
m = Minimail::Mail.new
|
8
24
|
m.draft do
|
9
25
|
subject "check it!"
|
10
26
|
recipients "bob@example.com"
|
11
27
|
end
|
12
28
|
m.deliver
|
13
|
-
|
14
|
-
|
29
|
+
|
30
|
+
|
31
|
+
Debugging
|
32
|
+
=========
|
33
|
+
Some ISPs will block the SMTP port or black-list IP addresses. I was not able to send on a Verizon ISP connection for home,
|
34
|
+
but was able to send using my cellular 3G connection (also Verizon) while tethered.
|
35
|
+
|
36
|
+
The mail will also likely show up in the spam folder.
|
37
|
+
|
38
|
+
# on OS X tail the mail log file
|
39
|
+
tail -f /var/log/mail.log
|
40
|
+
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 25
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Andy Atkinson
|
@@ -21,9 +22,11 @@ dependencies:
|
|
21
22
|
name: minitest
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
27
30
|
segments:
|
28
31
|
- 0
|
29
32
|
version: "0"
|
@@ -59,23 +62,27 @@ rdoc_options: []
|
|
59
62
|
require_paths:
|
60
63
|
- lib
|
61
64
|
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
62
66
|
requirements:
|
63
67
|
- - ">="
|
64
68
|
- !ruby/object:Gem::Version
|
69
|
+
hash: 3
|
65
70
|
segments:
|
66
71
|
- 0
|
67
72
|
version: "0"
|
68
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
69
75
|
requirements:
|
70
76
|
- - ">="
|
71
77
|
- !ruby/object:Gem::Version
|
78
|
+
hash: 3
|
72
79
|
segments:
|
73
80
|
- 0
|
74
81
|
version: "0"
|
75
82
|
requirements: []
|
76
83
|
|
77
84
|
rubyforge_project:
|
78
|
-
rubygems_version: 1.3.
|
85
|
+
rubygems_version: 1.3.7
|
79
86
|
signing_key:
|
80
87
|
specification_version: 3
|
81
88
|
summary: ""
|