1 mailwrapper and BSD compatibilty functions