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

Sending emails ... | Forum

Olivier Salmon
Olivier Salmon Aug 6 '13

I've managed to install oxwall. It looks great.

But, trying to invite friends is failing. It seems that no emails are sent out.
On the application side, everything looks fine. No error. But no email is received (tried yahoo and gmail addresses).

Any idea to debug it?

Olivier Salmon
Olivier Salmon Aug 6 '13
On my server I've uploaded a php file with the following:

 $to = "salmoliv@gmail.com";
 $subject = "Hi!";
 $body = "Hi,\n\nHow are you?";
 if (mail($to, $subject, $body)) {
   echo("<p>Message successfully sent!</p>");
  } else {
   echo("<p>Message delivery failed...</p>");

And mail are sent. So it's not specific to my server ...
ross Team
ross Aug 6 '13

You need to make sure that the cron job is properly configured. Here's the manual: https://lite.skadate.com/hello/docs/install/cron. Also check you notifications setting in your preferences: www.yourdomain.com/email-notifications

Olivier Salmon
Olivier Salmon Aug 8 '13
Hi Ross,

Thanks for the response.

The cron job wasn't running. None of the commands described in the manual worked. I had to use the following with my hosting company:

php -f /var/www/vhosts/FilerWeb03/<site>/httpdocs/oxwall/ow_cron/run.php

A good article to troubleshoot email issues: http://www.oxwall.org/forum/topic/10502

ross Team
ross Aug 8 '13
Ok, great!