This topic contains 16 reply and 2 voices, and was last updated by Tareq Hasan 6 years, 2 months ago
Viewing 15 Posts - 1 through 15 (of 16 total)
Author Posts
July 22, 2013 at 7:38 pm 6197
Tareq Hasan Hi Tariq, This is a vital plugin thanks! I have a small problem with notifications once a form is submitted, in my case, I have a custom post type called "recipe", a user submits a form to submit a recipe, once submitted the recipe is "pending for review", I expected here to receive an email notification as an admin but nothing is going through! I have set up properly the email address and template in the "Notification" tab within the form I created. Could you please advise what could possible conflict with this? and where I can look to fix. I would highly appreciate. Thanks Abdel Halim
July 23, 2013 at 12:05 am 6208
Tareq Hasan Tareq Hasan

Is the form submission working correctly? If it’s ok, the mail should be sent without a problem unless its caused by the mail server.

July 23, 2013 at 1:39 pm 6236
amybee amybee

Thanks for the reply! Yes the form is working correctly, but no email. I use Contact Form 7 on the website and it’s sending emails properly. I host the website on our dedi which runs PHP 5.4 now and all our websites we have work properly, I haven’t had any email issues before with our setup. I am lost now, where should I start?

July 23, 2013 at 9:53 pm 6257
Tareq Hasan Tareq Hasan

Thats weird, cause anyone didn’t report like this. Could give me ftp access so I could test on your site what might be wrong?

July 24, 2013 at 1:52 pm 6278
amybee amybee This reply has been marked as private.
July 24, 2013 at 2:01 pm 6279
amybee amybee This reply has been marked as private.
July 25, 2013 at 1:01 am 6291
Tareq Hasan Tareq Hasan

Can you give me WP admin access?

July 25, 2013 at 1:20 pm 6304
amybee amybee This reply has been marked as private.
July 26, 2013 at 2:59 am 6323
Tareq Hasan Tareq Hasan

I tested the code, the mail body returning is fine and it’s sending the mail via wp_mail correctly. So I suppose something wrong with the wp_mail function from WordPress or the mail server. But as you said other mail are working fine, that doesn’t make any sense.

July 26, 2013 at 4:44 pm 6345
amybee amybee This reply has been marked as private.
July 26, 2013 at 6:30 pm 6348
Tareq Hasan Tareq Hasan

I understand what are you saying, but as I dubugged, everything is working as it should. You may check the plugin in another server you would like or disable all other plugins to check if anyone is conflicting?

July 31, 2013 at 7:41 pm 6538
amybee amybee This reply has been marked as private.
August 1, 2013 at 8:24 pm 6570
Tareq Hasan Tareq Hasan

I just can’t think of a reason why it wouldn’t send the email as the correct message and to address is filling out in wp_mail function. Could you please install the plugin in a different server and test?

August 2, 2013 at 1:18 pm 6593
amybee amybee

Hi, I tested on brand new install on wordpress for normal posts (no custom post type) and it worked for published submitted posts. but on my website not working still. one question how about using PHP mail instead? could you please point me where to look and update? I can’t find the file that manage the wp_mail inside your plugin. thanks.
A

August 2, 2013 at 2:56 pm 6597
Tareq Hasan Tareq Hasan

It’s on the /class/frontend-form-post.php file.

August 2, 2013 at 4:01 pm 6601
amybee amybee

Thanks, this saves me headaches!! it works..

I used this :

mail('email@test.com', 'Subject', $mail_body);

Instead of:

wp_mail( $form_settings['notification']['edit_to'], $form_settings['notification']['edit_subject'], $mail_body );

Thanks for you effort though!
Abdel

Viewing 15 Posts - 1 through 15 (of 16 total)