Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
path = "/Users/tobias/fake-mailer"
Dir.mkdir(path) if !File.exists?(path)"#{path}/#{}.eml", "w") do |f|
f.puts ARGV.inspect
$stdin.each_line { |line| f.puts line }

How do you use this, e.g. configure TYPO3 to use it?


etobi commented Jan 7, 2015

Just add this in your AdditionalConfiguration:

    'transport' => 'sendmail',
    'transport_sendmail_command' => '/Users/tobias/bin/ -t',

Alternatively you can configure the script for "sendmail_path" in your php.ini.

I see. Thanks a bunch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment