diff --git a/lib/adamantium/syndication/dayone.rb b/lib/adamantium/syndication/dayone.rb index 850cc12..31140e6 100644 --- a/lib/adamantium/syndication/dayone.rb +++ b/lib/adamantium/syndication/dayone.rb @@ -23,12 +23,15 @@ module Adamantium } end - Mail.deliver do - to @to - from @username + mail = Mail.new do subject name body content end + + mail[:to] = @to + mail[:from] = @from + + mail.deliver end end end