Exception Alerts Not Emailing
-
- Posts: 7
- Joined: Mon May 18, 2015 9:25 am
Exception Alerts Not Emailing
It would be very helpful if we received an email every time there's an Exception triggered in TimeTrex.
Exceptions are being generated and can be viewed from Attendance>Exceptions, but no emails are being received by any employees or supervisors. A hierarchy is setup to email both.
TimeTrex is hosted on 8.1 PC on same network as majority of punches. Verified the auto-created automated task php-win.exe is running every minute. No errors in Event Log for this task.
Any ideas?
Exceptions are being generated and can be viewed from Attendance>Exceptions, but no emails are being received by any employees or supervisors. A hierarchy is setup to email both.
TimeTrex is hosted on 8.1 PC on same network as majority of punches. Verified the auto-created automated task php-win.exe is running every minute. No errors in Event Log for this task.
Any ideas?
Re: Exception Alerts Not Emailing
Have you received any emails from TimeTrex? The best way to test is to use the "Forgot Password" link on the TimeTrex login screen.
-
- Posts: 7
- Joined: Mon May 18, 2015 9:25 am
Re: Exception Alerts Not Emailing
Thanks for the prompt reply! I just tested this, and have not received a password reset email after 15 minutes.
Re: Exception Alerts Not Emailing
Under Help -> About, what is your Registration Key, and what email address are you testing with?
-
- Posts: 7
- Joined: Mon May 18, 2015 9:25 am
Re: Exception Alerts Not Emailing
36224ee06051e1bab6ce63d45d9e1853
Testing with Office365 email accounts (domain is @mailcvc.com, my address is daniel@mailcvc.com). Also testing with Gmail accounts, but not receiving emails at either account.
Testing with Office365 email accounts (domain is @mailcvc.com, my address is daniel@mailcvc.com). Also testing with Gmail accounts, but not receiving emails at either account.
Re: Exception Alerts Not Emailing
Do you have any SMTP settings specified in your timetrex.ini.php file?
-
- Posts: 7
- Joined: Mon May 18, 2015 9:25 am
Re: Exception Alerts Not Emailing
This is what I found in the .php file:
[mail]
; Least setup, deliver email through TimeTrex's email relay via SOAP (HTTP port 80)
delivery_method = soap
; Deliver email through local sendmail command specified in php.ini
; delivery_method = mail
; Deliver email through remote SMTP server with the following settings.
; delivery_method = smtp
; smtp_host=smtp.gmail.com
; smtp_port=587
; smtp_username=timetrex@gmail.com
; smtp_password=testpass123
;
; Cache settings
;
[mail]
; Least setup, deliver email through TimeTrex's email relay via SOAP (HTTP port 80)
delivery_method = soap
; Deliver email through local sendmail command specified in php.ini
; delivery_method = mail
; Deliver email through remote SMTP server with the following settings.
; delivery_method = smtp
; smtp_host=smtp.gmail.com
; smtp_port=587
; smtp_username=timetrex@gmail.com
; smtp_password=testpass123
;
; Cache settings
;
Re: Exception Alerts Not Emailing
Try defining the SMTP mail delivery settings and see if that works for you.
-
- Posts: 7
- Joined: Mon May 18, 2015 9:25 am
Re: Exception Alerts Not Emailing
I have done that (removed the semi-colons) - still not getting any emails from Forgot Password link for testing. I tried other SMTP server settings (we have an SMTP server on-premise) and this wasn't successful either.
Is there another .ini file I need to be looking at that the timetrex.ini.php pulls from?
Is there another .ini file I need to be looking at that the timetrex.ini.php pulls from?
Re: Exception Alerts Not Emailing
Enable debug logging as described here: http://forums.timetrex.com/viewtopic.php?f=6&t=89
Then try triggering another email to be sent from TimeTrex and look at the log file for any errors.
Then try triggering another email to be sent from TimeTrex and look at the log file for any errors.
-
- Posts: 7
- Joined: Mon May 18, 2015 9:25 am
Re: Exception Alerts Not Emailing
I'm not seeing a log file being created.
In the timetrex.ini.php file, I have this:
[debug]
buffer_output = TRUE
enable = TRUE
enable_display = TRUE
enable_log = TRUE
; Set to false if you're debugging
production = TRUE
verbosity = 10
In the php.ini file, I have this:
; Log errors to specified file.
error_log = debuglog.txt
What am I doing wrong?
In the timetrex.ini.php file, I have this:
[debug]
buffer_output = TRUE
enable = TRUE
enable_display = TRUE
enable_log = TRUE
; Set to false if you're debugging
production = TRUE
verbosity = 10
In the php.ini file, I have this:
; Log errors to specified file.
error_log = debuglog.txt
What am I doing wrong?
Re: Exception Alerts Not Emailing
Try specifying a full path to the error log, like: /tmp/timetrex_error.log
-
- Posts: 7
- Joined: Mon May 18, 2015 9:25 am
Re: Exception Alerts Not Emailing
I have changed it to the follow, but still no log file showing up. I ensured that "Everyone" has Full Control of the destination.
; Log errors to specified file.
error_log = C:\Users\Admin\Desktop\Logs\error.log
I've also tried doing it to a folder right on the C drive, but still no luck.
; Log errors to specified file.
error_log = C:\Users\Admin\Desktop\Logs\error.log
I've also tried doing it to a folder right on the C drive, but still no luck.