Would be nice to have to be able to requeue messages for example.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eiriksm created an issue. See original summary.

zaporylie’s picture

eiriksm’s picture

Status: Active » Needs review
FileSize
1.73 KB
zaporylie’s picture

Title: hook for failed message sending » hook for message success and error
FileSize
2.7 KB

I was actually thinking about message wrapper class passed to sparkpost_mailsend_error and sparkpost_mailsend_success hooks. And to sparkpost_mailsend itself. That would make it easy to i.e resend message. What do you think?

zaporylie’s picture

Forgot about one file :)

eiriksm’s picture

Status: Needs review » Reviewed & tested by the community

Needs .api.php file, will open another issue for it.

  • zaporylie committed ac71f6c on 7.x-1.x
    Issue #2711305 by zaporylie, eiriksm: hook for message success and error
    
zaporylie’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 7.x-1.x. I fixed a few typos.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.