Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m not really sure what the problem is. However, one thing I noticed that’s odd is that once I hit submit on your EBD form the little spinner comes up and then it displays the message in the green box saying thank you for submitting your order — and all that is normal and correct and it all happens via ajax — and then suddenly the page clears and it displays an entirely new page that says Thank you for ordering your free copy of our ebook ’38 lean steps … ‘ and so on. That last part is not normal. I don’t know if that’s what is causing the problem, but perhaps it is….

    If that is the problem then my best guess is that when it loads that unexpected page after the EBD message has displayed that it is then killing off the process that is sending the mail out. Of course, that may not be the case at all. There may be something else going on. However, it’s very strange that you’re not even getting the email to the Administrator. That is very unusual. I think you should look in your apache error log when you run a test and see if it’s logging something about a process getting killed or something like that.

    So, anyway, I see that weird extra-page load behavior from both of the 2 links you gave that go to the free book form (the EBD form). The last link you gave, that is just a CF7 form, works fine (note that it does not do that extra page thing).

    Also, I used an email address in my testing that doesn’t have any incoming filters on it so I was able to see that your system does not even attempt to connect to mine when I use the 2 EBD forms, but it does connect right away and sends email when using the CF7-only form.

    Thus, if I were you I would try to get rid of that weird extra page load thing that is happening. That looks like some sort of extra javascript happening there … not sure if that’s intentional or maybe like jquery form is somehow causing an extra load to happen or something? Not sure. Also, check that apache error log – I’d guess it shows something probably … if not, look around for where you’re logging your php errors (which might be going nowhere or might be going to a file like error_log or who knows exactly) — make sure you don’t make the php errors go to the screen or that will cause EBD to fail – they need to go to a file, so if you decide to turn on WP_DEBUG then make sure you’ve got it set to go to a file.

    I’m having a similar issue on my site: http://www.privateenglishteaching.com

    Not sure what the problem is. I have all the plug-ins installed. Set up the shortcode properly. It spins and says the email has been sent. But, I have not received any email under both of my tests. Also, the download counter remains at 0.

    Any ideas?

    Also, is it possible to get a download function on screen after they entered their information? Is that a feature? Or is it email only?

    gednav, please do not update old items — please pen a new item instead and put the problem you’re having into the new item

    (wordpress.org has changed it so it sorts support items by the original date it was opened rather than the last update, so it’s very unlikely that I’ll see updates on old existing items).

    ssiwebmaster

    (@ssiwebmaster)

    I have the same issue, emails are not being sent! Once I turned on the debug log, I found the following:
    WordPress database error Column ’email’ cannot be null for query INSERT INTO wp_ebd_link.

    Once I noticed the above error I downloaded the “Custom Sender for Email Before Download” plugin and entered the a valid email using this plugin but there were no change! Once I complete the From 7 and click on Submit (Send) button it spins then says it was successful but no email is sent and I can find same error posted on log to_email can not be null!

    Hope someone can provide an inside on how to set the to_email for this plugin.

    dtynan

    (@dtynan)

    ssiwebmaster:

    Edit your CF7 form and on the “Form” tab you need to make sure that the name of the field for email is “your-email” (without quotes). If you have a name field you should make it be “your-name” (without quotes). See the 2nd screenshot on the screenshots page for an example of what I mean: https://wordpress.org/plugins/email-before-download/screenshots/

    Also, double-check the “Mail” tab to make sure you have a good email address in the To: field in there (normally this will be your wordpress admin email address). The settings on that page are for the “notification email” that gets sent out. Normally that goes to you (the wordpress admin) so you know when someone visits your site and submits the form. That visitor will get a different email sent by EBD that has a link to the download file (or has the file attached if you chose that option).

    Turn off WP_DEBUG and test again and see if it works now.

    If it does not work, then please open a new support ticket and include your shortcode and a link to a page I can try out. Do not update this old support ticket again as when you do that, all the previous people who were on here usually get an email about it and that is annoying.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Email won't send’ is closed to new replies.