After changing the code I don’t get the right pane of “Triggering the email” but the old fetch worker (which produces errors because my email worker has no handlers for those).
Here is my code:
export default {
async email(message, env, ctx) {
console.log("***", JSON.stringify(message, null, 2))
try{
await Promise.all([
message.forward("[email protected]"),
message.forward("[email protected]")]);
}catch(e){
console.error(e)
}
}
}
The emails (redacted) are not getting the forwarded email (I see the worker is triggered) and both emails are verified.