WordPress normally sends emails from wordpress@yourdomain.com. If you want you to change which email alias WordPress should send emails from, then you can put the following into into your functions.php or a plugin.

I’ve also included the function to change the WordPress email sender name. Replace the email and name for your own site.

[cc lang=”php”]// Changes the senders email address

function wpsnippets_sender_email( $original_email_address ) {
return ‘morgan@morganhvidt.com’;
}

// Changes the senders name
function wpsnippets_sender_name( $original_email_from ) {
return ‘Morgan H’;
}

add_filter( ‘wp_mail_from’, ‘wpsnippets_sender_email’ );
add_filter( ‘wp_mail_from_name’, ‘wpsnippets_sender_name’ );[/cc]