Gaming_YT
Explore posts from serversCDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
oh ok
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
Is there any way to set a custom profile icon for the e-mails?
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
what is ' + EOL + EOL +
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
does it work
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
like if i put <h1>hi!</h1>
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
welp, either way, does it support html emails?
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
For whatever reason it sent the email independent from the original message
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
Is there any way to reply to an email
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
lol
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
it did
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
Whaat it sent it like a minute later but
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
IT WORKED??
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
WAIT
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
Still no response either way...
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
Oh lol you told me right after i read it on a forum post
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
import { EmailMessage } from "cloudflare:email";
import { createMimeMessage } from "mimetext";
export default {
async email(message, env, ctx) {
const ticket = createTicket(message);
const msg = createMimeMessage();
msg.setHeader("In-Reply-To", message.headers.get("Message-ID"));
msg.setSender({ name: "Thank you for you contact", addr: "<SENDER>@example.com" });
msg.setRecipient(message.from);
msg.setSubject("Email Routing Auto-reply");
msg.addMessage({
contentType: 'text/plain',
data:
We got your message, your ticket number is ${ ticket.id }
});
const replyMessage = new EmailMessage(
"<SENDER>@example.com",
message.from,
msg.asRaw()
);
await message.reply(replyMessage);
}
}
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
import { EmailMessage } from "cloudflare:email";
import { createMimeMessage } from "mimetext";
export default {
async email(message, env, ctx) {
const ticket = createTicket(message);
const msg = createMimeMessage();
msg.setHeader("In-Reply-To", message.headers.get("Message-ID"));
msg.setSender({ name: "Thank you for you contact", addr: "<SENDER>@example.com" });
msg.setRecipient(message.from);
msg.setSubject("Email Routing Auto-reply");
msg.addMessage({
contentType: 'text/plain',
data:
We got your message, your ticket number is ${ ticket.id }
});
const replyMessage = new EmailMessage(
"<SENDER>@example.com",
message.from,
msg.asRaw()
);
await message.reply(replyMessage);
}
}299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
1 sec
299 replies
CDCloudflare Developers
•Created by Gaming_YT on 12/8/2023 in #workers-help
This might be dumb but, can someone help me with E-Mail Workers?
This is my code, it's an example
299 replies