Generate a mail script.

svn path=/trunk/; revision=1962