Email using an external SMTP server
From ResourceSpace Documentation Wiki
Since r2669 it is possible to configure ResourceSpace to use an external SMTP server for outgoing emails. Open config.default.php and search for ”$use_smtp”. Copy all the rows containing the smtp configuration to config.php and do the following changes in this file:
- Change
$use_smtp=false;
to
$use_smtp=true;
- Edit the settings below to match the settings for your SMTP server and your email account
# SMTP settings: $smtp_secure=''; # '', 'tls' or 'ssl'. For Gmail, 'tls' or 'ssl' is required. $smtp_host=''; # Hostname, e.g. 'smtp.gmail.com'. $smtp_port=25; # Port number, e.g. 465 for Gmail using SSL. $smtp_username=''; # Username (full email address). $smtp_password=''; # Password.
- Make sure the row below is found somewhere in the file
$use_phpmailer=true;
