• Resolved ellmann creative

    (@ellmanncreative)


    Does this plugin support some sort of auto-retry if the message fails to send? I expected some sort of WP-cron-based retry system, but I can’t find anything in the configuration.

    If the plugin itself doesn’t support this functionality – can you please direct me to the API I can use in my own code to query Postman for such unsent e-mails, and then instruct it to re-attempt?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support M Haseeb

    (@haseeb0001)

    @ellmanncreative Hi,

    I hope you are doing well.

    We have the Fall back option, if your email fails, then Post SMTP will use the secondary email socket; you can go to Settings > Fall Back.

    By enabling this option, if your email fails to send Post SMTP, you will try to use the SMTP service you define here.

    Thanks

    Thread Starter ellmann creative

    (@ellmanncreative)

    Yeah, I do have that… but I don’t have a fallback SMTP service.

    I’m more interested in retrying down the line, instead of a failover.

    Plugin Support M Haseeb

    (@haseeb0001)

    @ellmanncreative

    At the moment Auto retry feature is not available, I will discuss it with my team and try to add this in our future release.

    Thanks

    Thread Starter ellmann creative

    (@ellmanncreative)

    Can you tell me if there’s an API I could use within WordPress (in a plugin, for example) to query your plugin on this? Though I suppose, since your plugin does not do retries, I could safely list the attempts identified as “failed”, or just talk to the DB directly… though, if possible, I’d rather do it through your API (so as to not step on anyone’s “toes” between plugins).

    Is there a way I could ask Postman to retry sending a failed e-mail? There’s a “retry” link; I assume I could do something similar?

    That way I could write a simple CRON plugin that would a) list failed, and b) try to send them one by one, until there’re none left.

    Plugin Support M Haseeb

    (@haseeb0001)

    @ellmanncreative

    At the moment, there is no feature in our plugin related to Auto retry; you can get help from your developer, we have noted down this, and we will try to add this type of feature in our future release.

    Thanks

    Thread Starter ellmann creative

    (@ellmanncreative)

    Yeah, okay… but I just wanted to know if there’s a reference I could look up to trigger email resending (since the functionality clearly exists). I thought I’d ask before digging into your code myself.

    Plugin Support M Haseeb

    (@haseeb0001)

    @ellmanncreative let me discuss it with my team and if there will be any references or anything I will share them with you.

    Thanks

    Plugin Support M Haseeb

    (@haseeb0001)

    @ellmanncreative

    This action hooks triggers right after the email failure.

    do_action( ‘post_smtp_on_failed’, $log, $message, $transcript, $transport, $error_message );

    You can do some customization and try if its work as per your requirements.

    Thanks

    Plugin Support M Haseeb

    (@haseeb0001)

    Hi @ellmanncreative ,

    Hope you are doing good. We have been waiting to hear from you for the last two weeks and assume your issue has been resolved.

    Feel free to reopen this issue in case the problem persists.

    Thanks and regards,
    Support Team – WPExperts

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Auto-retry if send failure?’ is closed to new replies.