Skip to content

Instantly share code, notes, and snippets.

@mamor
Last active December 12, 2015 06:19
Show Gist options
  • Save mamor/4728007 to your computer and use it in GitHub Desktop.
Save mamor/4728007 to your computer and use it in GitHub Desktop.
cliからメール受信の単体テスト(Win) 参考: http://www.dolphy.gr.jp/webap/topic/smrsh.html
command:
cat fuel/app/tmp/test.eml | php oil r xxx
PHP:
$xxx = file_get_contents('php://stdin');
echo $xxx;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment