I'm aiming to send a post dated email through postmaster. I'm (successfully) sending out emails though a custom addon, by triggering a hook inside the custom addon and passing some data through the hook.
However, I'm trying to send out a post dated email in the same fashion and I'm not sure if it's the 'correct' way to do it.
Basically, I've set up a hook in postmaster, this is being triggered and it's also queuing the email in the exp_postmaster_queue table. In this table it's storing the to_name, the to_email and even a fully parsed message.
Now, when I trigger the ping url it removes the email from the queue and chucks it into the the mailbox - however the message fails to send as it's trying to send to the non parsed email variable (and the message also contains non-parsed variables) - {hook:participant_email}.
Does anyone know if sending a post dated email is possible through a hook, and if so how can I parse variables through?
The data seems like it's all in the queue table, so it must be reparsing (I started to pick the addon apart at which point I got a touch stuck).
Thanks
Dave