system_mail 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/system_mail/message.rb +2 -2
- data/lib/system_mail/version.rb +1 -1
- metadata +1 -1
data/lib/system_mail/message.rb
CHANGED
@@ -225,8 +225,8 @@ module SystemMail
|
|
225
225
|
`#{settings[:sendmail]} < #{message_path}`
|
226
226
|
end
|
227
227
|
else
|
228
|
-
IO.popen(settings[:sendmail]) do |io|
|
229
|
-
io.
|
228
|
+
IO.popen(settings[:sendmail], 'w') do |io|
|
229
|
+
io.puts @storage.read
|
230
230
|
end
|
231
231
|
end
|
232
232
|
end
|
data/lib/system_mail/version.rb
CHANGED