Announcement

#1 2017-11-26 10:42:47

knobo
Member
Polling
2017-07-01
4

[resolved] Send e-mails

Hello,

my Piwigo-Installation runs with about 10,000 pictures fast and stable.
Now I want to set up the e-mail dispatch in Piwigo, thath's why I inserted the following lines with the LocalFileEditor in config_default.inc.php:
$conf['smtp_host'] = 'securesmtp.t-online.de:465';
$conf['smtp_user'] = 'my username';
$conf['smtp_password'] = 'my password';
$conf['smtp_secure'] = 'tls';
However e-mail sending does not work.
Under Users -> Notifications -> Subscribed I get the message: "Error when sending e-mail to xxx", when I move a user from 'Unsubsribed' to 'Subscribed' section.
On the same LAMP-Server I run 'Nextcloud'. I configured the sending of emails with the same data and the sending works.
Therefore, I believe that I made a mistake in the setting.
Can someone tell me where to find configuration information (I have been searching for a long time), if any other settings are needed and what I should control?

Thank your efforts in advance.

greeting
knobo

    Piwigo 2.9.2
    Betriebssystem: Linux Mint 18.1
    LAMP-Server
    PHP: 7.0.22-0ubuntu0.16.04.1 (Info anzeigen) [2017-11-26 10:06:03]
    MySQL: 5.7.20-0ubuntu0.16.04.1 [2017-11-26 10:06:03]
    Grafikbibliothek: ImageMagick 6.8.9-9

Last edited by knobo (2017-11-26 10:51:14)

Offline

 

#2 2017-11-27 18:14:18

knobo
Member
Polling
2017-07-01
4

Re: [resolved] Send e-mails

Found the mistake:
It has to be called $conf['smtp_secure'] = 'ssl'; instead of $conf['smtp_secure'] = 'tls';

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact