Page 1 of 1

SMTP with external Server

Posted: Tue Mar 26, 2019 2:50 pm
by maruggio
Hi

Currently I an configuring a new server fpr FormaLMS. I do not want to setup a whole mail server, but a login to an existing mailserver and sending over that.
How did you configure your mail sending functionality?

Did you configure Postfix or ssmtp or using smtp in FormaLMS via config.php setttings?

Many thanks for hints.

-oliver

Re: SMTP with external Server

Posted: Thu Mar 28, 2019 9:23 pm
by maruggio
Hi

In config.php there are config entries for smtp. Does enabling these act as a smtp client or does this use/needs an internal mailserver (postfix, sendmail) on the same host? What if I let one config entry empty?
I do not find any docu what these entries do:

Code: Select all

new in 2.2 
$cfg['use_smtp_database'] = 'on';  
$cfg['use_smtp'] = 'on';
$cfg['smtp_host'] ='';				// Options: hostname;hostname:port;...
//$cfg['smtp_port'] ='';			// Options: '' (default port) , port number
//$cfg['smtp_secure'] = '';			// Options: "", "ssl", "tls"
$cfg['smtp_user'] ='';
$cfg['smtp_pwd'] ='';
-oliver

[RESOLVED] Re: SMTP with external Server

Posted: Wed Apr 03, 2019 12:56 pm
by maruggio
Mail is working.

Re: SMTP with external Server

Posted: Wed Apr 03, 2019 12:58 pm
by max
thank you Oliver for your feedback