WD13
CDCloudflare Developers
•Created by WD13 on 9/4/2024 in #workers-help
Email worker error (reconstructing FROM address)
HI all,
Im currently seeing an issue that I just cannot get my head around... I have a catch-all address set up to send to Duck Email protection which gives a @duck address. When this comes back filtered of trackers the original email From address is sent back in a "[email protected]" and id like a worker to convert this back to the original address before forwarding on to my main account.
I have come up with the following code however I am getting fetch errors and the emails are either not coming through or coming through with the incorrectly formated senders email still. They do however show up correctly on the cloudflare overview page for the domain.
any help would be much appreciated, im very new to coding and cloudflare in general!
Code in following post as it was too long.
11 replies