Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: f114fbfe15
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (9 sloc) 0.293 kB
#!/usr/bin/env ruby
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'mailman'
Mailman::Application.new do
from('%user%@%domain%') do
puts "Got #{message.subject} from #{params[:user]}"
end
end.run
# cat ../spec/fixtures/example01.eml | ./simple_route.rb
Jump to Line
Something went wrong with that request. Please try again.