Email Setting!!!-Solved

Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules
Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
Post Reply
jda
Posts: 27
Joined: 12 Jan 2017, 03:34
what is two(2) plus three(3) ?: 5

Email Setting!!!-Solved

Post by jda » 19 Jan 2017, 01:25

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..

User avatar
cptr13
Posts: 426
Joined: 23 Apr 2008, 01:53
what is two(2) plus three(3) ?: 5
Location: Mobile, AL
Contact:

Re: Email Setting!!!

Post by cptr13 » 19 Jan 2017, 02:30

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.

jda
Posts: 27
Joined: 12 Jan 2017, 03:34
what is two(2) plus three(3) ?: 5

Re: Email Setting!!!

Post by jda » 19 Jan 2017, 02:50

Thanks a lot, I'll wait for your reply..

I'll find a way to :)

User avatar
RussH
Site Admin
Posts: 866
Joined: 12 Apr 2008, 08:28
what is two(2) plus three(3) ?: 5
Location: UK
Contact:

Re: Email Setting!!!

Post by RussH » 19 Jan 2017, 13:22

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%,
RussH

Report your issues and feature requests;
https://github.com/opencats/opencats/issues

Please CLICK THE TICK to accept the answer!

jda
Posts: 27
Joined: 12 Jan 2017, 03:34
what is two(2) plus three(3) ?: 5

Re: Email Setting!!!

Post by jda » 20 Jan 2017, 01:28

Email Config already working

Thank you :)

User avatar
RussH
Site Admin
Posts: 866
Joined: 12 Apr 2008, 08:28
what is two(2) plus three(3) ?: 5
Location: UK
Contact:

Re: Email Setting!!!

Post by RussH » 20 Jan 2017, 10:25

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.
RussH

Report your issues and feature requests;
https://github.com/opencats/opencats/issues

Please CLICK THE TICK to accept the answer!

User avatar
ddufresne
Posts: 4
Joined: 06 Mar 2017, 20:05
what is two(2) plus three(3) ?: 5

Re: Email Setting!!!

Post by ddufresne » 06 Mar 2017, 22:56

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%,

VaishnaviK
Posts: 1
Joined: 21 Feb 2019, 12:21
what is two(2) plus three(3) ?: 5

Re: Email Setting!!!-Solved

Post by VaishnaviK » 21 Feb 2019, 13:03

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.

Post Reply