• Resolved brayhalv

    (@brayhalv)


    A user wanted to subscribe to my newsletter and pointed out that it was not possible due to the following error message:

    “There was an error when sending a confirmation email for your subscription. Please contact the website owner.”

    I then tried to trigger it again manually by clicking on “resend confirmation email”. Unfortunately, I always get the error message “There was a problem with your sending method. Please check if your sending method is properly configured.”. When I check there, everything seems to be okay (whether I send with Mailpoet or via the web server).

    What is particularly annoying is that this has apparently been going on unnoticed for months, because I see hundreds of people in the list who have not yet received a confirmation. Of course, it is a bit embarrassing to receive a confirmation request after months.

    What is going wrong here?

    Thanks and best regards

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Ján Miklá?

    (@neosinner)

    Hi @brayhalv, which sending method you use on your website? (You can read about them at https://kb.mailpoet.com/article/135-the-send-with-tab).

    My guess is that you are set to send emails with your web host, who is blocking them. To solve that, I’d recommend switching to the MailPoet Sending Service, which works even when your web host is blocking emails.

    Thread Starter brayhalv

    (@brayhalv)

    Hi @neosinner,
    no, im using the MailPoet Sending Service! That’s what’s making me so uncertain. I did switch to see what would happen, though, but unfortunately I got the same error message with every sending method.

    Plugin Author Ján Miklá?

    (@neosinner)

    @brayhalv this error is shown, when a sending is paused for some reason. Do you see any errors logged in MailPoet > Help > System Status?

    Thread Starter brayhalv

    (@brayhalv)

    @neosinner no errors but a note “For the plugin to work, it must be able to establish connection with the task scheduler and the key activation/MailPoet Sending Service.”

    The strange thing is that the activation key is now displayed as invalid again (this happens from time to time at irregular intervals). But as soon as I click on “Verify”, it is active again. However, this does not change the current problem.

    But if I look in the error log under “Advanced”, I see several entries of this message:

    "[2024-10-23T07:54:47.839188+00:00] cron.ERROR: Sending has been paused. {"error":"[object] (Exception(code: 0): Sending has been paused. …"

    Plugin Author Ján Miklá?

    (@neosinner)

    @brayhalv have you tried following this guide to see, if you are able to detect what the issue is? https://kb.mailpoet.com/article/231-sending-does-not-work

    Also, is there more information in that log when you click on Show more next to it?

    Thread Starter brayhalv

    (@brayhalv)

    @neosinner Of course I did that, yes. But now I looked at the system status again and saw that an error “MailPoet API key is invalid!” is displayed at “Sending Queue” (see screenshot). The strange thing is that the key is deactivated again all the time, as I said. Basically, the plugin works with regard to sending. It’s just that nobody can subscribe to the newsletter and no confirmation emails are sent to the users.

    Plugin Author Ján Miklá?

    (@neosinner)

    @brayhalv The confirmation email is not sent because when MailPoet is set to send with the MailPoet Sending Service but the API key is invalid, it pauses the sending of all emails.

    When you validate an API key, it uses the website’s URL to connect it to your MailPoet subscription. But MailPoet also regularly validates the API key via cron tasks in the background. It might be that the cron reports a different website, which would cause the sending to pause, as it would think that the API key is used on the wrong website.

    Could you please check, what is your site_url() and home_url()?

    Thread Starter brayhalv

    (@brayhalv)

    @neosinner Could the problem be that I use a bilingual website (German/English with WPML)? I have integrated the MailPoet form in both languages and each language runs over its own TLD (.de/.com). That wasn’t a problem in the past, though. Presumably the verify code is activated for the “.com” domain and then deactivates itself as soon as the “.de” domain is used, right?

    Plugin Author Ján Miklá?

    (@neosinner)

    @brayhalv that can very well be the case. What you described (activate on .com then use on .de) sounds like could cause issues like this. Unfortunately, MailPoet doesn’t officially support WPML, and we know there are different kinds of issues when it’s used, and this might just be another one.

    Thread Starter brayhalv

    (@brayhalv)

    @neosinner Hmm okay. But it’s strange that it didn’t cause any problems at the beginning. Any idea how I can proceed?

    Plugin Author Ján Miklá?

    (@neosinner)

    @brayhalv I don’t have much knowledge about how WPML works, but if you have two domains, both of which can be used to send emails, I don’t know if there is a solution that won’t pause sending every time an email is sent from .de domain.

    But it’s strange that it didn’t cause any problems at the beginning.

    Is it possible, that it never tried sending an email from .de before?

    Thread Starter brayhalv

    (@brayhalv)

    @neosinner I have now reset it and it seems to be working (at least I am no longer being shown the message). I will continue to monitor it and hope that all emails arrive for future subscribers. Thanks so far!

    Plugin Author Ján Miklá?

    (@neosinner)

    @brayhalv what task scheduler do you use? I can’t say for sure, but using Linux cron might solve that issue for you, as the cron would always run from the same domain. It’s more difficult to set up, but might be worth trying out.

    Thread Starter brayhalv

    (@brayhalv)

    @neosinner ok, thanks! I will keep that in mind!

    Plugin Support Dani F. a11n

    (@danielinhou)

    Sounds good!

    I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.