This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fromAdress = "postmaster@example.com"; | |
const webhook = "https://listmonk.example.com/webhooks/bounce"; | |
const auth = "user:password"; | |
export default { | |
async email(message, env, ctx) { | |
if (message.from != fromAdress) { | |
message.setReject("This is a Noreply Address"); | |
return; | |
} |