alexmchale-gmail-client 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/gmail.rb +2 -2
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/gmail.rb
CHANGED
@@ -55,7 +55,7 @@ class GMail
|
|
55
55
|
"Content-Type: multipart/mixed; boundary=\"#{boundary}\"\r\n" +
|
56
56
|
"\r\n" +
|
57
57
|
"--#{boundary}\r\n" +
|
58
|
-
"Content-Type:
|
58
|
+
"Content-Type: #{@body_type}\r\n" +
|
59
59
|
"\r\n" +
|
60
60
|
"#{@body}\r\n" +
|
61
61
|
"\r\n" +
|
@@ -67,7 +67,7 @@ class GMail
|
|
67
67
|
"From: #{@username}\r\n" +
|
68
68
|
"To: #{@to}\r\n" +
|
69
69
|
"Subject: #{@subject}\r\n" +
|
70
|
-
"Content-Type:
|
70
|
+
"Content-Type: #{@body_type}\r\n" +
|
71
71
|
"\r\n" +
|
72
72
|
"#{@body}\r\n" +
|
73
73
|
"\r\n.\r\n"
|