SMTP with external Server

Install and configure FormaLMS and DoceboCE
Post Reply
maruggio
FormaLms User
Posts: 56
Joined: Mon Dec 17, 2018 1:51 pm
Version: forma.lms 2.0
Contact:

SMTP with external Server

Post 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

maruggio
FormaLms User
Posts: 56
Joined: Mon Dec 17, 2018 1:51 pm
Version: forma.lms 2.0
Contact:

Re: SMTP with external Server

Post 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

maruggio
FormaLms User
Posts: 56
Joined: Mon Dec 17, 2018 1:51 pm
Version: forma.lms 2.0
Contact:

[RESOLVED] Re: SMTP with external Server

Post by maruggio »

Mail is working.

User avatar
max
FormaLms Guru
Posts: 2151
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: SMTP with external Server

Post by max »

thank you Oliver for your feedback
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it

Post Reply