Search
Code238
); return { data: mathFact }; // console.email(mathFact, "Daily Math Fact");}
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" }); return "return"; console.log(this);
export let testCallInterval = () => { setInterval(() => console.email('my test'), 1 * 60 * 1000)}
const isOddMinute = mins % 2 === 1; console.email("right now the minute is " + mins, "mins"); return isOddMinute;};
return "hi " + name; } console.email("hi");})();
export let notifier = (message) => { const subject = "HGVC ID: " + Math.floor(Math.random() * 100000); let x = console.email(message, subject); // any JSON object can be the message return x;};
const big = new Array(50000).fill(1); console.log(big); console.email(big); return big;})();
// email yourself as easily as logging to the consoleexport let txNotification = (() => { console.email("message"); // any JSON object can be the message console.email({ html: "<h1>Signing Agent Notification!</h1>" }); // you can send HTML emails console.email({ hi: "there" }, "New Txn"); // optional second arg is the subject line console.email({ html: "<b>hi!</b>", subject: "Subject accepted here too" });})();
export function feedback(content) { console.email("Feedback: " + content); return "ok";}
// email yourself as easily as logging to the consoleexport 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" });})();