Change sub-sites default email

I’m trying to set the default email from subsites on our WPressr multisite. I put this in the mu-plugins but it doesn’t seem to work: http://collabedit.com/dbxsq

<?php

/* Plugin to set the default email from information per site for WPressr

* Subdomain = “Sitename” <mail@wpressr.com>

* Mapdomain = “Sitename” <mail@domain.com>

*/

add_filter( ‘wp_mail_from’, ‘new_mail_from’ );

add_filter( ‘wp_mail_from_name’, ‘new_mail_from_name’ );

function new_mail_from( $old ) {

$parse = parse_url(get_bloginfo(‘url’:wink:);

return ‘mail@’.$parse;

}

function new_mail_from_name( $old ) {

return get_bloginfo(‘name’:wink:;

}