• Resolved Philip Jones

    (@philipmjones)


    I have been using the free edition of WP Mail SMTP with a SendGrid Free API account for some time and all has worked well right up to this afternoon.

    However when I logged in to my site this afternoon there was a warning message from the WP Mail SMTP plugin and when I tried to send a test email it returned:

    Versions:
    WordPress: 5.5.1
    WordPress MS: No
    PHP: 7.4.6
    WP Mail SMTP: 2.4.0

    Params:
    Mailer: sendgrid
    Constants: No
    Api Key: Yes

    Debug:
    A valid URL was not provided.

    I cannot find any mention of this online and my Sendgrid account is showing I’m well within the 100 email per day limit.

    The only thing that has changed recently is that I updated my website about 10 days ago, which involved copying it from staging to live environment with search and replace of URLs and file paths.

    Can you help shed any light on this, please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @philipmjones,

    Sendgrid requires HTTPS/SSL connection since October 1. Could you please confirm you’re running your site on https://?

    Thanks!

    Hi @philipmjones,

    It looks like Sendgrid does not require HTTPS/SSL connection yet. I apologize for that. Could you please re-add your Sendgrid API key in the settings, save and send a test email? Or, are you using the API key by defining constants in wp-config.php? In that case, please make sure, you have added the constant in correct place.

    I hope this helps!

    Thread Starter Philip Jones

    (@philipmjones)

    Hi Sanjeev,

    Your comment about SSL/HTTPS made me think that perhaps something went wrong when I moved the site from a staging server which isn’t https back to the live server which is. So I uninstalled the plugin completely and reinstalled it, then created a new API key.

    The test email was delivered fine, so all good now.

    Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Debug: A valid URL was not provided’ is closed to new replies.