site cron and contact form

Does the contact form and site email contact use cron jobs to send?

I cant get any site emails to send.

Using contact form, or any module inquire forms, I get a message sent message on screen, but nothing recieved.

not in spam

 

cron looks like this (cpanel cron)

cd /home/server/public_html/site/periodic; /usr/local/bin/php -q cron.php

 

any suggestions what to check?

admin email is correct on site admin.

Quote · 28 May 2015

The contact form does not use the cron job.  The site emails uses the cron job for sending emails to members.

Your cron job looks OK but we can only guess.

It would be nice if cPanel would allow you to manually run the cron and get an output like I can do on my server.  You can manually run the cron by temporary deactivating the .htaccess in the peroidic directory by renaming it and then enter in the browser URL, http://your domain/perodic/cron.php where you replace "your domain" with your actual domain name.  Be sure to put  the proper name back for the .htaccess file after you perform this procedure.

If the contact form is not working, then I would suspect that your email server is the issue.

Geeks, making the world a better place
Quote · 28 May 2015

I notice also if I send an onsite message to members, and select to send a copy to their email also, they get the onsite message but not the email.

Nothing onsite seems to be producing emails....

Do I have to have the SMTP mail module set up to fix this?

Quote · 29 May 2015

scratch that.

looks like some issue with php mailer.

I didn't think there was anything here that needed configuring?

Quote · 29 May 2015

only thing in todays error log...

 

28-May-2015 10:21:05 America/Chicago] PHP Parse error:  syntax error, unexpected T_EXIT, expecting ',' or ';' in /home/server/public_html/site/inc/utils.inc.php on line 468

Quote · 29 May 2015

 

Do I have to have the SMTP mail module set up to fix this?

Not necessarily.  The SMTP module is to allow you to use a third party mailer such as gmail or yahoo.

Geeks, making the world a better place
Quote · 29 May 2015

You need to tell us more about your setup, what server type, control panel, shared, dedicated, etc.

Geeks, making the world a better place
Quote · 29 May 2015

dedicated, cpanel

 

host have been looking into it also, doesnt appear to be anything out of place.

server emails are all working fine, just not ones that are sent through the php mailer in dolphin.

 

do you know if smtp mailer bypasses phpmailer (for things like site contact form?)

Quote · 29 May 2015

There is nothing wrong with the phpmailer script; I run my own mail server; Postfix/Dovecot and it works fine.  The problem lies elsewhere.  Since I don't have access to your server, there is not much I can do.  Hopefully the guys hosting your site know something; I have had bad experience with GoDaddy techs so hope it is not GoDaddy that you are using.

Geeks, making the world a better place
Quote · 29 May 2015

 

utils.inc.php

This handles formatting the outgoing mails in the proper SMTP format; adding the proper headers etc.  You may need to remove the \r in the formatting.  See this thread: http://www.boonex.com/forums/topic/MIME-Version-1-0-From-at-top-of-all-emails-How-to-fix-.htm

 

Did you try uploading the utils.inc.php file again using binary transfer mode?

 

Also, how did you install Dolphin, through one of those automated scripts or manually?

Geeks, making the world a better place
Quote · 29 May 2015

The SMTP mailer does send mail directly instead of using the php built in function so it would probably bypass the problem in some spots but not others.. If memory serves me WHM has a setting somewhere like "block mail sent from php". If its a dedicated with Cpanel then WHM is probably there too, see if you see any settings like that.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 29 May 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.