Monday, November 08, 2010 at 12:05 AM.
system.verbs.builtins.radio.utilities.mailUserLand
on mailUserLand (recipient = "userland-internal@userland.com") {
<<Changes
<<12/10/01; 1:23:04 AM by JES
<<Added recent event log items, via a call to radio.utilities.getRecentEventLogStats.
<<11/1/01; 6:15:25 PM by DW
<<Takes a parameter, the email address to send the mail to.
<<10/31/01; 11:22:04 AM by PBS
<<This script mails all config info to UserLand.
local (subject = "Radio Config and Stats for " + user.prefs.name);
local (mailText = "");
mailText = radio.utilities.getConfigInfo ();
mailText = mailText + "\n\n" + radio.utilities.getRecentEventLogStats (false);
mailText = mailText + "\n\n" + radio.utilities.getThreadStats (false);
mailText = mailText + "\n\n" + radio.utilities.getHashStats (false);
mailText = mailText + "\n\n";
tcp.sendMail (recipient, subject, mailText)}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.