We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Mail notifications not Working | Forum

Topic location: Forum home » Support » General Questions
Afsal Y
Afsal Y Nov 15 '16
My assumption ->  Crons run by two ways. 1. On ajax 2. from server side.

  -> cron.php in ow_cron is getting called on both ways.


I set the preference as Immediately for Mail notifications. Checked all options.


Still not recieving any mail.


Mail is working for all other functionalities like invitation, on sign up etc..

ross Team
ross Nov 15 '16
The user should be logged out in order to receive notification immediate, nevertheles, it might take up additional time, depending on the period you set for your cron to run. 


Have you tried to send mass mailing to your test users? Do you get it? 

Afsal Y
Afsal Y Nov 16 '16
Thank You


Mass Mail not workking

dave Leader
dave Nov 16 '16
are you sure your cron is working?
Afsal Y
Afsal Y Nov 17 '16
Yes cron is working. Mass mailing also working
dave Leader
dave Nov 17 '16
So this has been resolved?
Afsal Y
Afsal Y Dec 13 '16
Its on hold now. 


Thanks for the query.

Jim Thomas
Jim Thomas Dec 14 '16
I am having a similar problem.  Mass email is working within the community.  I am using my own SMTP account and it has been verified by Oxwall as ok.  Not receiving any emails outside of the community like new members signing up or notifications being sent to members external to the community.

Thanks!
dave Leader
dave Dec 14 '16
New member verifications are not sent thru the mail table but most other mails are. 


The table name is ow_base_mail  what happens is that the mail is sent there first, then when the cron runs it removes it from that table and sends the mail.  So the mail is not in that table for very long and its gone.  Once that happens it is out of the Oxwall control and is up to your server and then your email host. 


If you have a dedicated server or VPS you can check your WHM or whatever host manager software you use to check the outgoing mail from the server to see if your email has been sent from the server.  If so then it is up to your email client after that.


First step verify that your cron is running


then check that table to see if there is anything in there

if that table is full of stuff then your cron is not running properly


then check the server

Afsal Y
Afsal Y Dec 15 '16
Is the cron call from server required for this mail functioning? Currently cron call on page load is working
dave Leader
dave Dec 15 '16
Yes you have to set up the cron to run 1x every minute.


 https://wiki.oxwall.com/install:cron


I use cpanel and i use this (the -O option is no longer used i believe)


php -q  /home/username/public_html/ow_cron/run.php


if you have Oxwall in a sub dir (or add on domain)


php -q  /home/username/public_html/domain folder name/ow_cron/run.php


if those dont work then use the examples on that page



The Forum post is edited by dave Dec 15 '16
Aliya Team
Aliya Dec 22 '16
not required but strongly recommended.
dave Leader
dave Jan 5 '17
Thanks for the clarification Aliya :0)