daftlabs/mail_helper — pull request #4 by SamuelDavis (2014-10-30 18:31:45+00:00)
Title: Only adding base_url to templates if SERVER_NAME is defined.

If this class is called from the command line (or a phpunit test, for example) the server_name is undefined and breaks things.