Skip to content

Instantly share code, notes, and snippets.

@autarch
Created January 26, 2016 01:20
Show Gist options
  • Select an option

  • Save autarch/4b40679b893425ded0af to your computer and use it in GitHub Desktop.

Select an option

Save autarch/4b40679b893425ded0af to your computer and use it in GitHub Desktop.
$ perl -MEmail::MIME -E 'say Email::MIME->create( header => [ To => q{sástien.lambert@example.com}, Subject => q{«Testing»}, From => q{autarch@urth.org} ], body => q{Body} )->as_string'
To: sástien.lambert@example.com
Subject: «Testing»
From: autarch@urth.org
Date: Mon, 25 Jan 2016 19:17:38 -0600
MIME-Version: 1.0
Body
$ perl -MEmail::Stuffer -E 'say Email::Stuffer->to( q{sastien.lambert@example.com} )->subject( q{«Testing»} )->from( q{autarch@urth.org} )->body( q{Body} )->as_string'
Can't locate object method "body" via package "Email::Stuffer" at -e line 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment