1
2
3
4
5
6
7
require 'mail'

Mail.deliver do
  to '[email protected]'
  subject 'Ruby mail test'
  body 'WTF'
end