Search

240 results found for console.email (1880ms)

Code
238

import { welcomeEmail } from "https://esm.town/v/rodrigotello/welcomeEmail?v=142";
export let emailMe = console.email({
html: welcomeEmail,
subject: "Welcome to Val Town",
// email yourself as easily as logging to the console
export let consoleEmailEx = (() => {
console.email("message"); // any JSON object can be the message
console.email({ html: "<h1>hello html emails!</h1>" }); // you can send HTML emails
console.email({ hi: "there" }, "Subject Line"); // optional second arg is the subject line
console.email({ html: "<b>hi!</b>", subject: "Subject accepted here too" });
})();
console.log(text.join("\n"));
if (text.length)
console.email(
text.join("\n"),
`Reddit Notifier (${total_matches} matches)`
export let email = async (...args: any[]) => {
return await rateLimit("email", 10, () => {
(console.email as any)(...args);
});
};
// }
// {
console.email(messageText, messageText);
}
// email yourself as easily as logging to the console: `console.email`
export let consoleEmailEx = (() => {
console.email("message"); // any JSON object can be the message
console.email({ html: "<h1>hello html emails!</h1>" }); // you can send HTML emails
console.email({ hi: "there" }, "Subject Line"); // optional second arg is the subject line
console.email({ html: "<b>hi!</b>", subject: "Subject accepted here too" });
})();
// Forked from @stevekrouse.consoleEmailEx
rei/notif/main.tsx
1 matches
export let notif = () => {
console.email("hello mario!");
};
lastRunAt,
});
if (items.length) console.email(items, `New from ${name} RSS`);
return { name, items };
});
const { action, sender, repository } = await req.json();
if (action === "created") {
console.email(
`Repository ${repository.full_name} starred by ${sender.login}`,
);
export let remember = function () {
console.email("Remember to try val.town for Weather Bot");
};

Vals

No vals found

Users

No users found
No docs found