gmail-mailer 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +0 -6
- data/VERSION +1 -1
- data/gmail-mailer.gemspec +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -5,7 +5,6 @@ Programatically send emails using a given gmail account. No username/passwords n
|
|
5
5
|
message = GmailMailer::Message.new("to", "Hello Subject", "Hello Body")
|
6
6
|
|
7
7
|
### Adding attachments
|
8
|
-
**NOTE:** Only single attachments work at the current moment in time
|
9
8
|
message.add_attachment("<path-to-file>")
|
10
9
|
|
11
10
|
### Setting up gmail-mailer
|
@@ -18,13 +17,8 @@ You will need to provide mailer with a hashmap containing the ouath details for
|
|
18
17
|
require 'gmail-mailer'
|
19
18
|
email_credentials =
|
20
19
|
{
|
21
|
-
:smtp_server=>"smtp.gmail.com",
|
22
|
-
:smtp_port=>587,
|
23
|
-
:smtp_consumer_key=>"anonymous",
|
24
|
-
:smtp_consumer_secret=>"anonymous",
|
25
20
|
:smtp_oauth_token=>"<your outh_token>",
|
26
21
|
:smtp_oauth_token_secret=>"<your ouath token secret>",
|
27
|
-
:host=>"gmail.com",
|
28
22
|
:email=>"<your gmail address>"
|
29
23
|
}
|
30
24
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.1
|
data/gmail-mailer.gemspec
CHANGED