Hello/Hi/Greetings,
already noticed that piwigo needs an email account to send new password notification, if anyone clicks on the "Forgot password"- link? Yes, and configuration of an email account is a nightmare.
Whats wrong with you guys, this should be possible from the administration backend without any hassle or fiddling...
Offline
Use the Local File Editor plugin, and edit local/config/config.inc.php. I have my own sendmail server for my home apps to use, so my config is straight forward. I just need to give it the IP address. This is configured to send everything through gmail as a smarthost. I could tell each app to send directly to gmail, but I'd rather keep the mail configuration centralized.
Check with you email provider about how to configure apps to use it.
// smtp configuration (work if fsockopen function is allowed for smtp port) // smtp_host: smtp server host // if null, regular mail function is used // format: hoststring[:port] // exemple: smtp.pwg.net:21 // smtp_user/smtp_password: user & password for smtp authentication $conf['smtp_host'] = '192.168.10.15'; $conf['smtp_user'] = ''; $conf['smtp_password'] = ''; // 'ssl' or 'tls' $conf['smtp_secure'] = null;
Offline
Mail settings still work with Gmail like this:
//mail setting for sender
$conf['smtp_host']='smtp.gmail.com:465'; // Notice I didn not indicate the port
$conf['smtp_user']='your@gmail.com';
$conf['smtp_password']='insert your apps password herej';
$conf['smtp_secure']='ssl'; // you can put ssl instead
// while using gmail, you'll need create an apps password. with limit 100 emails/day.
// link to create your apps password : https://myaccount.google.com/u/0/apppasswords
Offline