by Josh Mckibbin on WordPress.org
Simplifies local development by configuring WordPress to use SMTP instead of the PHP mail() function

Simple SMTP Mailer Settings
The Simple SMTP Mailer plugin allows you to easily configure WordPress to use SMTP instead of the PHP mail function.
This should only really be used in a development environment.
All settings can be overridden by assigning array values to the SSMTP_MAILER constant in wp-config.php. This is useful for automating local deployment.
define(
'SSMTP_MAILER',
array(
'host' => emailhost.com,
'username' => username,
'password' => password,
'port' => 25,
'security' => 'SSL'
)
);