SMTP with external Server

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

SMTP with external Server

Post by maruggio » Tue Mar 26, 2019 2:50 pm

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: 41
Joined: Mon Dec 17, 2018 1:51 pm
Version: forma.lms 2.0
Contact:

Re: SMTP with external Server

Post by maruggio » Thu Mar 28, 2019 9:23 pm

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: 41
Joined: Mon Dec 17, 2018 1:51 pm
Version: forma.lms 2.0
Contact:

[RESOLVED] Re: SMTP with external Server

Post by maruggio » Wed Apr 03, 2019 12:56 pm

Mail is working.

User avatar
max
FormaLms Guru
Posts: 1983
Joined: Thu Mar 01, 2012 10:41 am

Re: SMTP with external Server

Post by max » Wed Apr 03, 2019 12:58 pm

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

Post Reply