Search

240 results found for console.email (1225ms)

Code
238

// 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" });
})();
export let scheduler = () => {
return 5;
//console.email("", "STX: 05/19/23-06/19/23 is now available for 1000 points"); // any JSON ob
};
export let email = async (feedback: any) => {
(console.email as any)(feedback, "New feedback for Commonplace");
};
export let sendGmail = () => {
console.email("hello", "hello");
};
ychu/aqi/main.tsx
1 matches
)
).results[1].measurements.find((m) => m.parameter === "pm25").value;
if (pm25 > 50) console.email(null, `AQI is ${pm25}, close your windows!`);
};
import { welcomeEmail } from "https://esm.town/v/rodrigotello/welcomeEmail?v=142";
export let emailMe = console.email({
html: welcomeEmail,
subject: "Welcome to Val Town",
export let intervalTesting = (ival: Interval) => {
let lastRunAt = ival.lastRunAt;
console.email(JSON.stringify(ival) + "\nDISABLE ME!!");
};
// 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" });
})();
// 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" });
})();
let t = await f.text();
console.email("Hello world!");
try {
return JSON.parse(t);

Vals

No vals found

Users

No users found
No docs found