Announcement

#1 2021-03-15 20:36:08

ballaballa
Member
2021-03-15
3

Email Settings?

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

 

#2 2021-03-16 02:46:34

ckayfish
Member
2021-01-25
53

Re: Email Settings?

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.

Code:

// 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;

--- devOps engineer; sometimes coder. I make your apps run with 99.999% uptime ---

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact