Email worker forwarding emails twice?
hey yall. im attempting to set up a catch-all worker to forward "+" emails to their respective custom addresses. for example i have the custom address [email protected] forwarding to [email protected]. i wrote a worker to catch addresses like [email protected] and forward said email to [email protected]. the good news is it works! but maybe a little too much. all the emails are coming in twice at the same time. not sure what im doing wrong or if i have my setup weird. any ideas? note the emails used here are verified and i have both the catchall and my custom emails online.
3 Replies
interestingly inside my dashboard these emails are showing as dropped even though they went through?
this is how it looks on my end
Yes. Somehow the system shows the status as "dropped" if the worker successfully has forwarded the email. I was confused, too, and spent quite a bit time to troubleshoot.
It is not clear how the worker can return a different state, e.g., rejected and forwarded.