Mail Routes I want to forward all mail recive

I want to forward all mail recived to [email protected] to multiple mails [email protected], [email protected], [email protected]
20 Replies
[🖤] Iron_Max              !
[🖤] Iron_Max !OP•12mo ago
From forums I have got this but its not working
export default {
async email(message, env, ctx) {
await message.forward("[email protected]");
await message.forward("[email protected]");
}
}
export default {
async email(message, env, ctx) {
await message.forward("[email protected]");
await message.forward("[email protected]");
}
}
1.1.1.1
1.1.1.1•12mo ago
DNS over Discord: A records
saketh-dev.tech A @1.1.1.1 +noall +answer
NAME | TTL | DATA
----------------+------+------------
saketh-dev.tech | 300s | 76.76.21.21
NAME | TTL | DATA
----------------+------+------------
saketh-dev.tech | 300s | 76.76.21.21
diggy diggy hole
1.1.1.1
1.1.1.1•12mo ago
DNS over Discord: MX records
saketh-dev.tech MX @1.1.1.1 +noall +answer
NAME | TTL | DATA
----------------+------+----------------
saketh-dev.tech | 300s | 10 mx.zoho.in.
saketh-dev.tech | 300s | 20 mx2.zoho.in.
saketh-dev.tech | 300s | 50 mx3.zoho.in.
NAME | TTL | DATA
----------------+------+----------------
saketh-dev.tech | 300s | 10 mx.zoho.in.
saketh-dev.tech | 300s | 20 mx2.zoho.in.
saketh-dev.tech | 300s | 50 mx3.zoho.in.
diggy diggy hole
Chaika
Chaika•12mo ago
if that's supposed to be your domain, it's not pointed/using Cloudflare mx
[🖤] Iron_Max              !
[🖤] Iron_Max !OP•12mo ago
actual domain is litemc.fun
1.1.1.1
1.1.1.1•12mo ago
DNS over Discord: A records
litemc.fun A @1.1.1.1 +noall +answer
NAME | TTL | DATA
-----------+--------+-------------
litemc.fun | 3,600s | 159.69.6.244
NAME | TTL | DATA
-----------+--------+-------------
litemc.fun | 3,600s | 159.69.6.244
diggy diggy hole
Chaika
Chaika•12mo ago
That code alone looks fine to me though. I would make sure that your various addresses are verified ([email protected], [email protected]"), you have to add them under Email Routing -> Destination Addresses and verify them. Then you could tail your worker (Worker -> Logs -> Begin Log Stream, send email), and then you should see the email event and you can click to expand to see any errors/etc
1.1.1.1
1.1.1.1•12mo ago
DNS over Discord: MX records
litemc.fun MX @1.1.1.1 +noall +answer
NAME | TTL | DATA
-----------+------+-----------------------------
litemc.fun | 300s | 1 route2.mx.cloudflare.net.
litemc.fun | 300s | 74 route3.mx.cloudflare.net.
litemc.fun | 300s | 81 route1.mx.cloudflare.net.
NAME | TTL | DATA
-----------+------+-----------------------------
litemc.fun | 300s | 1 route2.mx.cloudflare.net.
litemc.fun | 300s | 74 route3.mx.cloudflare.net.
litemc.fun | 300s | 81 route1.mx.cloudflare.net.
diggy diggy hole
[🖤] Iron_Max              !
[🖤] Iron_Max !OP•12mo ago
I don't see logs here
Chaika
Chaika•12mo ago
you have to click on the worker that looks fine. You had them added before, or just now? Anything more specific then "its not working"? Were you getting a specific error back from sending a email, or anything else?
[🖤] Iron_Max              !
[🖤] Iron_Max !OP•12mo ago
Like when I send mail to [email protected] I dont get mail I have specified I just got this
Chaika
Chaika•12mo ago
The "Logs" tab there, and then you can click on Begin Log Stream, and if you send an email you would see the event and can expand it
[🖤] Iron_Max              !
[🖤] Iron_Max !OP•12mo ago
response
{
"outcome": "ok",
"scriptName": "summer-bar-81c8",
"diagnosticsChannelEvents": [],
"exceptions": [],
"logs": [],
"eventTimestamp": 1703524097981,
"event": {
"rawSize": 5929,
"rcptTo": "[email protected]",
"mailFrom": "[email protected]"
},
"id": 0
}
{
"outcome": "ok",
"scriptName": "summer-bar-81c8",
"diagnosticsChannelEvents": [],
"exceptions": [],
"logs": [],
"eventTimestamp": 1703524097981,
"event": {
"rawSize": 5929,
"rcptTo": "[email protected]",
"mailFrom": "[email protected]"
},
"id": 0
}
Chaika
Chaika•12mo ago
yea so it thinks everything is fine. Keep in mind you're not going to see the email back in the inbox you sent it from, Gmail deduplicates Do you see it in xdmatrix22/check spam?
[🖤] Iron_Max              !
[🖤] Iron_Max !OP•12mo ago
Its my frnds If you dont mind can you send a mail to [email protected]
Chaika
Chaika•12mo ago
sure
[🖤] Iron_Max              !
[🖤] Iron_Max !OP•12mo ago
Yeah It works
Chaika
Chaika•12mo ago
Yea it's just that some email providers like gmail think its a duplicate email and discard it, have to test from a different inbox then you're forwarding to
[🖤] Iron_Max              !
[🖤] Iron_Max !OP•12mo ago
Ohk Thnx, Have a nice day Merry Christmas 🎄
Chaika
Chaika•12mo ago
You too! MeowHeartCloudflare
Want results from more Discord servers?
Add your server