message.reply is not a function

hey there, i'm trying to debug replying from email workers as shown here[1], but in the cloudflare editor i get Uncaught (in response) TypeError: message.reply is not a function when i try to reply.. forward and setReject are both there though. anyone have any leads on this? thanks in advance. [1] https://developers.cloudflare.com/email-routing/email-workers/reply-email-workers/
Cloudflare Docs
Reply to emails from Workers · Cloudflare Email Routing docs
You can reply to incoming emails with another new message and implement smart auto-responders programmatically, adding any content and context in the main body of the message. Think of a customer support email automatically generating a ticket and returning the link to the sender, an out-of-office reply with instructions when you are on vacation...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?