Changing default WordPress Email

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

– open file wp-includes\pluggable.php
– change the following lines and replace ‘[email protected]’ by anything you want example ‘[email protected]
336 $from_email = ‘[email protected]’ . $sitename;
1056 $wp_email = ‘[email protected]’ . 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