Search

240 results found for console.email (1457ms)

Code
238

const url = fetchCat();
const html = `Here's a random cat: <img src="${url}">`;
console.email({ html }, "random cat");
};
lastRunAt: new Date("2000/1/1"),
});
if (items.length) console.email(items, `New from ${name} RSS`);
return { name, items };
});
export let handleForm = (params) => {
console.email(params, "New form submission");
subscriberSubMissionForm.push(Object.values(params)[0]);
return `I heard you say ${Object.keys(params)[0]} is ${
export function myApi(name) {
return console.email("hello there", "email n shit");
}
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 emaillog = (msg) => console.email(msg, msg);
// 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" });
})();
privateVals.length - newPrivateVals.length < threshold
) {
console.email("Reaching free trial limit!");
}
};
// 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 add = (num) => console.email("test");

Vals

No vals found

Users

No users found
No docs found
16
Next