• The plug-in runs great on all my sites (thank you so much).

    Unfortunately I’m able to get the results of the tests only on the plug-in backend panel as I’m not receiving the e-mails with the results even if I properly set a valid e-mail address.

    I’ve tried to see if I could get some information about that by activating the plug-in own log but unfortunately there’s no mention to the e-mails sent (or not sent).

    All the other plug-ins are able to regularly send e-mail notification (backup plug-in, security plug-in, contact forms, …). I have to say that on all my sites I’m using a plug-in to reroute the php wp_mail() function to an external SMTP server, but this has never caused any problem with any other plug-in and anyway there’s no trace of e-mail sent from the site speed monitor plug-in in the smtp e-mail plug-in log files (while all the e-mails from the other plug-ins are correctly tracked) so it looks like the plug-in is not sending the e-mails at all.

    Any hint about what could cause this problem?
    Many thanks again and keep up with the great work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter koukoo

    (@koukoo)

    Alright, I figured out that the e-mails are supposed to come directly from webpagetest.org (noreply@webpagetest.org). Still, the problem is that out of many tests I performed on two different wordpress installation I only got one single e-mail with the results so there must be a problem with their e-mail system.

    It would be cool if the plug-in could send itself the results that it fetched without relying on webpagetest for it. But the plug-in already does a lot considering that it’s free. I just hope that the problem I’m facing is going to be fixed.
    Thanks again

    Plugin Contributor Code Parrots

    (@codeparrots)

    Hi @koukoo,

    It sounds like something may not be right. The emails are actually sent out from the WebPageTest.org API and not from your WordPress site – so regardless of how your site handles mail, it should still be sent. We can do some testing to confirm that things haven’t changed with their API since the release of this plugin.

    Plugin Contributor Code Parrots

    (@codeparrots)

    Sorry about that – I just noticed your follow up reply. You are right – it would be nice if we could get those results, package them up and send them out directly from your site. I’ve found that a number of plugins or themes (or customizations) may interfere with wp_mail, and thus breaks the email system built into WordPress. When this happens, no emails get sent from any plugin. So to prevent that from occurring, we went ahead and chose to have the emails sent out from the webpagetest.org api site, as to offload some of the overhead in the plugin (and this was already a feature of the API so we figured why not leverage it).

    We can certainly take a look at what it might take to include that feature in a future release.

    Thread Starter koukoo

    (@koukoo)

    I’ve did some more tests and also today I was initially not getting the e-mails from WebPageTest.org.
    Then I unchecked the “Private Tests” flag (When checked, the test results will be hidden from the WebPageTest.org test log.) and it looks like that I’m getting the results quite consistently now even if it seems that the email are not arriving 100% of the time.
    So that option might have been the reason why I was not receiving the e-mails (if it’s the case, it would be a pity not to be able to test the site privatly if one needs the results via e-mail).

    Having the result sent by e-mail from the wordpress installation itslef would be definitely a great addition.

    Just a last question: is there an easy way to interface with the results collected and added to the database by your plug-in (maybe from wp cli?). I’m trying to study a way to collect and bring together some data to export periodically into some reports to send to my clients and being able to list the speed test results as well would be useful. Any suggestion about that?

    Thank you very much once again and keep up the great work

    Plugin Contributor Code Parrots

    (@codeparrots)

    Hi @koukoo,

    We can do some testing with the private option checked to see if we are also encountering similar issues. This may be something built into the webpagetest API or a bug.

    As for retrieving data, all of the data is stored inside of a serialized option site_speed_monitor_options.

    $option = get_option( 'site_speed_monitor_options' );
    
    $option['completed_tests'];

    The completed test option should contain all of the test data that you need. What sort of data are you looking to retrieve out of there?

    Thread Starter koukoo

    (@koukoo)

    Thank you very much for replying.
    Fixing the problem with WebPageTest.org’s emails would be rally great.

    At the moment I’m just investigating about options to collect different data to organize into reports to send on a regular base to my clients (with info on backups, analytics, logins and lockdowns, site speed, …).
    Since scraping the site speed data from WebPageTest.org’s e-mails counld at this point be not realy reliable I thought about the possibility of fetching Site Speed Monitor’s saved results directly from the database. I’ll explore this possibility and eventually let you know.
    Many thanks again!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I’m not receiving the e-mails with the result’ is closed to new replies.