Page 1 of 1

Email Setting!!!-Solved

Posted: 19 Jan 2017, 01:25
by jda
Hi guys, I am new in using OpenCATS-0.9.3-3 and my OS is windows 7,

May I ask where I can edit again the email setting? so that I can input the right SMTP Support, SMTP Host,
SMTP Port, SMTP Username and SMTP Password..

Thanks in advance..

Re: Email Setting!!!

Posted: 19 Jan 2017, 02:30
by cptr13
JDA,

I know this can be done during the initial setup. There may be a way to do it afterwards through file editing but I'm not sure off the top of my head.

Search through the forums, this may have been answered already. I will try to research it and see how to do it without reinstalling. May take me a day or two...got a lot happening right now. But I'll follow up on this.

Re: Email Setting!!!

Posted: 19 Jan 2017, 02:50
by jda
Thanks a lot, I'll wait for your reply..

I'll find a way to :)

Re: Email Setting!!!

Posted: 19 Jan 2017, 13:22
by RussH
jda wrote:Hi guys, I am new in using OpenCATS-0.9.3-3 and my OS is windows 7,

May I ask where I can edit again the email setting? so that I can input the right SMTP Support, SMTP Host,
SMTP Port, SMTP Username and SMTP Password..

Thanks in advance..
Hiya,

you can edit config.php in the root directory by hand. it's quite clearly commented;
Code: Select all
/* This setting configures the method used to send e-mail from CATS. CATS
 * can send e-mail via SMTP, PHP's built-in mail support, or via Sendmail.
 * 0 is recomended for Windows.
 *
 * 0: Disabled
 * 1: PHP Built-In Mail Support
 * 2: Sendmail
 * 3: SMTP
 */
define('MAIL_MAILER', 3);

/* Sendmail Settings. You don't need to worry about this unless MAIL_MAILER
 * is set to 2.
 */
define('MAIL_SENDMAIL_PATH', "/usr/sbin/sendmail");

/* SMTP Settings. You don't need to worry about this unless MAIL_MAILER is
 * set to 3. If your server requires authentication, set MAIL_SMTP_AUTH to
 * true and configure MAIL_SMTP_USER and MAIL_SMTP_PASS.
 */
define('MAIL_SMTP_HOST', "localhost");
define('MAIL_SMTP_PORT', 587);
define('MAIL_SMTP_AUTH', true);
define('MAIL_SMTP_USER', "user");
define('MAIL_SMTP_PASS', "password");
//Options: '', 'ssl' or 'tls'
define('MAIL_SMTP_SECURE', "tls");

/* Event reminder E-Mail Template. */
$GLOBALS['eventReminderEmail'] = <<<EOF
%FULLNAME%,

Re: Email Setting!!!

Posted: 20 Jan 2017, 01:28
by jda
Email Config already working

Thank you :)

Re: Email Setting!!!

Posted: 20 Jan 2017, 10:25
by RussH
jda wrote:Email Config already working

Thank you :)
No problem. I'd like to add - I'm extremely keen to hear about the deficiencies of opencats / feature requests. Maybe not so much "it needs to be a fully integrated enterprise-ready etc, etc' - but if there's anything achievable then I'd like to add it to a roadmap.

I'll make a feature requests /roadmap topic - but as a new user, please post anywhere (for now) about what you like / hate / miss.

Re: Email Setting!!!

Posted: 06 Mar 2017, 22:56
by ddufresne
Thanks for this information. Very helpful!
RussH wrote:
jda wrote:Hi guys, I am new in using OpenCATS-0.9.3-3 and my OS is windows 7,

May I ask where I can edit again the email setting? so that I can input the right SMTP Support, SMTP Host,
SMTP Port, SMTP Username and SMTP Password..

Thanks in advance..
Hiya,

you can edit config.php in the root directory by hand. it's quite clearly commented;
Code: Select all
/* This setting configures the method used to send e-mail from CATS. CATS
 * can send e-mail via SMTP, PHP's built-in mail support, or via Sendmail.
 * 0 is recomended for Windows.
 *
 * 0: Disabled
 * 1: PHP Built-In Mail Support
 * 2: Sendmail
 * 3: SMTP
 */
define('MAIL_MAILER', 3);

/* Sendmail Settings. You don't need to worry about this unless MAIL_MAILER
 * is set to 2.
 */
define('MAIL_SENDMAIL_PATH', "/usr/sbin/sendmail");

/* SMTP Settings. You don't need to worry about this unless MAIL_MAILER is
 * set to 3. If your server requires authentication, set MAIL_SMTP_AUTH to
 * true and configure MAIL_SMTP_USER and MAIL_SMTP_PASS.
 */
define('MAIL_SMTP_HOST', "localhost");
define('MAIL_SMTP_PORT', 587);
define('MAIL_SMTP_AUTH', true);
define('MAIL_SMTP_USER', "user");
define('MAIL_SMTP_PASS', "password");
//Options: '', 'ssl' or 'tls'
define('MAIL_SMTP_SECURE', "tls");

/* Event reminder E-Mail Template. */
$GLOBALS['eventReminderEmail'] = <<<EOF
%FULLNAME%,

Re: Email Setting!!!-Solved

Posted: 21 Feb 2019, 13:03
by VaishnaviK
Tired with same process but didn't worked for me while sending mail for candidate (from pipeline status change and tired from candidate) but nothing worked with smtp.gmail.com and user name and password.