Skip to content

Instantly share code, notes, and snippets.

@semaperepelitsa
Created January 21, 2011 18:08
Show Gist options
  • Save semaperepelitsa/790109 to your computer and use it in GitHub Desktop.
Save semaperepelitsa/790109 to your computer and use it in GitHub Desktop.
>> m = TestMailer.welcome
=> #<Mail::Message:2171333440, Multipart: false, Headers: <From: [email protected]>, <To: [email protected]>, <Subject: Welcome>, <Mime-Version: 1.0>, <Content-Type: text/plain>>
>> m.to = ["test.&[email protected]"]
=> ["test.&[email protected]"]
>> m.deliver
=> #<Mail::Message:2171333440, Multipart: false, Headers: <Date: Sat, 22 Jan 2011 01:05:44 +0700>, <From: [email protected]>, <To: ["test.&[email protected]"]>, <Message-ID: <4d39caf88d8a5_1e3080443b3c48414@[FILTERED]>>, <Subject: Welcome>, <Mime-Version: 1.0>, <Content-Type: text/plain>, <Content-Transfer-Encoding: 7bit>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment