[ASTPPCOM-436] Version 3.6 | Email is not sending automatically Created: 11/Jun/18 Updated: 08/Sep/18 Resolved: 08/Sep/18 |
|
| Status: | Done |
| Project: | ASTPP Community |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | ||
| Reporter: | whitesparrowbd | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I have tried many times in many way I have already enable E-mail notification from Configuration > Settings Can you help me to solve it? |
| Comments |
| Comment by Samir Doshi [ 11/Jun/18 ] |
|
Have you configured crons? |
| Comment by whitesparrowbd [ 11/Jun/18 ] |
|
yes configured the given crons Generate Invoice0 1 _ _ * cd /var/www/html/astpp/cron/ && php cron.php GenerateInvoice Low balance notification0 1 _ _ * cd /var/www/html/astpp/cron/ && php cron.php UpdateBalance Low credit notification0 0 _ _ * cd /var/www/html/astpp/cron/ && php cron.php LowCredit 0 0 _ _ * cd /var/www/html/astpp/cron/ && php cron.php CurrencyUpdatei saved all data to /etc/crontab but the main issue is all the given crons are regular usable issue, but where is the signup, forgot password, confirmation and others cron job ? |
| Comment by (Community) DN (Inactive) [ 14/Jun/18 ] |
|
About 'email not sending issue', you can enable mail debug from configuration and monitor the logs in /var/log/astpp/astpp_email.log file. |
| Comment by powerpbx [ 03/Jul/18 ] |
|
Maybe a stupid question but have you verified that emails sent manually work? echo testing | mail -s "test mail" somemail@somedomain.com |
| Comment by alexheylin [ 10/Jul/18 ] |
|
[~whitesparrowbd] I think you've made a mistake I made when I first configured ASTPP by hand. You've put the cron entries in /etc/crontab directly - but they're in the wrong format to go directly into the master crontab as it needs a username field too so they won't run. I suggest moving them to /var/spool/cron/crontabs/astpp on Debian or /var/spool/cron/astpp on CentOS - or use the install.sh to install. The cron code is on lines 556 - 576. Using the install.sh will ensure the system is configured as it's supposed to be, as there are some other things like this that can catch you out if you try to install manually. |