Email Config

Install and configure FormaLMS and DoceboCE
Post Reply
phatsaqs
FormaLms User
Posts: 40
Joined: Tue Jul 26, 2016 7:24 pm
Version: forma.lms 1.4.2

Email Config

Post by phatsaqs »

Hi,

Im using Windows and IIS for a web server and have configured the server to send emails.
I can successfully send emails using an email test page with the following:

Code: Select all

<?php
if(mail('test@test.com','php test subject','php test message')){
    echo('ok');
}
else{
    echo('not ok');
}
?>
However, emails do not send within forma (I have configured emails to be sent for subscribe/unsubscribe to courses under admin section).
What are the proper config settings to have emails sent within the application considering my setup?
Should I use $cfg['use_smtp'] = 'off'? Is smtp_host needed?

Thanks

Edit: Sending email from newsletter works fine it seems with use_smtp = off. However, no emails are being sent for the settings set in Event Manager.
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Email Config

Post by canelli »

Hi
if you are able to send mail with php standard function mail() the correct configuration for forma.lms is

Code: Select all

$cfg['use_smtp'] = 'off'
no other configurations are required

If forma.lms can send email for newsletter or helpdesk , the smtp setting is correct .
Subscribe course not sendinf email would not be an smtp configuration problem
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------
phatsaqs
FormaLms User
Posts: 40
Joined: Tue Jul 26, 2016 7:24 pm
Version: forma.lms 1.4.2

Re: Email Config

Post by phatsaqs »

Got it thanks :) Sending you a PM.
Post Reply