Changing default WordPress Email

WordPress default emailBy Default , wordpress sends users emails from to change that you have to do is the following easy steps

– open file wp-includes\pluggable.php
– change the following lines and replace ‘wordpress@’ by anything you want example ‘info@’
336 $from_email = ‘wordpress@’ . $sitename;
1056 $wp_email = ‘wordpress@’ . preg_replace(‘#^www\.#’, ”, strtolower($_SERVER[‘SERVER_NAME’]));
– to change the name of the sender , change WordPress to anything you want, example ‘Logicum’
320 $from_name = ‘WordPress’;

ps: the line numbers mentioned above are for wp v 3.4.1 and every time you upgrade your wp you have to make this change again.

Leave us a comment if you have any questions, happy PHPing 🙂

Leave a Reply