• Resolved mikethome

    (@mikethome)


    Users are getting an error when clicking the link included in the email notifications. It appears that a huge string is being added to the url:

    url+ /wp-json/wp-mail-smtp/v1/e/ZGF0YSU1QmVtYWlsX2xvZ19pZCU1RD0xNTEmZGF0YSU1QmV2ZW50X3R5cGUlNUQ9Y2xpY2stbGluayZkYXRhJTVCb2JqZWN0X2lkJTVEPTI1NSZkYXRhJTVCdXJsJTVEPWh0dHBzJTI1M0ElMjUyRiUyNTJGaW1wbGFudGRpcmVjdGF3YXJkcy5wb3dlcnBsYXliZXlvbmQuY29tJmhhc2g9YjZjZjQxOGJkMDYyODNmNjM4YWVkZTVmZDM0YjhkNWJjNDViYWY0OTc1MzM4ODNiNDdiNjI4MjEyNTI1ODRhZg==

    Is there a conflict somewhere between import users and wpSMTP mail? How can I include just the simple URL?

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @mikethome,

    It seems a problem from another plugin.

    We use the standard WordPress function, but surely another plugin is hooked on it and it is creating the problem.

    Could you check with other, plugins deactivated, please?

    Thread Starter mikethome

    (@mikethome)

    I have 30 other plugins managing all other parts of my sites? Any ideas where to start?

    Just a shot in the dark here…but it seems that an object is being attached to the url for tracking purposes. Logic would say that someone wants to capture where the traffic is coming from when the recipient clicks the link.

    If I deactivate WP Mail SMTP, then the notification won’t go out at all. Ugh!! This is frustrating!

    Plugin Author Javier Carazo

    (@carazo)

    @mikethome,

    The problem seems to come from this plugin.

    We use standard WP functions like wp_login_url(), wp_lostpassword_url() or network_site_url().

    Ask their support to know if they are filtering these functions.

    Thread Starter mikethome

    (@mikethome)

    Javier, Thank You!

    I did reach out to the plug in author. Posting their reply here in case someone else has a similar issue.

    `You are right, it looks like there might be an issue related to the Click Link Tracking option (https://a.supportally.com/D1ZVvX) since seems, that the rest API is blocked/disabled on your website.

    Based on this, I’d recommend either of the following options:

    1) If you don’t need the Click Link Tracking option, please, disable it.
    You can do it by going to WP Mail SMTP -> Settings -> Email Log tab -> disable the Click Link Tracking option -> Save Settings.

    or

    2) To make the Click Link Tracking option works without causing issues, you’ll need to enable or remove the block from the rest API for the “wp-mail-smtp/v1” endpoint.
    You can do it in a plugin like WordPress REST API Authentication, for example.`

    I do have another question and if needed will start another thread… do the wildcards work in the subject line?

    Thanks,
    Mike

    Plugin Author Javier Carazo

    (@carazo)

    No, currently the wild cards only work in the body but it would be interesting to include it also in the subject.

    Thanks for the suggestion.

    Plugin Author Javier Carazo

    (@carazo)

    I have just included it. It will be available in next version.

    Thread Starter mikethome

    (@mikethome)

    Trying to update plugin…getting this error:

    Update failed: The update cannot be installed because some files could not be copied. This is usually due to inconsistent file permissions.

    Where do I possibly start to look for which files have inconsistent permissions?

    Plugin Author Javier Carazo

    (@carazo)

    @mikethome,

    This is not a problem from the plugin and you can find many threads related with this problem: https://akashicseer.com/web-development/wordpress-update-failed-the-update-cannot-be-installed-because-we-will-be-unable-to-copy-some-files-this-is-usually-due-to-inconsistent-file-permissions/

    Basically you have to set the correct file permissions, something like 644 for files and 755 for directories.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Including a link in email notification – error!’ is closed to new replies.