Monday, November 08, 2010 at 12:05 AM.

system.verbs.builtins.radio.prefs.special.mailPassword

on mailPassword () {
	<<Changes
		<<12/1/01; 5:16:27 PM by DW
			<<Ooops. I forgot to put the adrdata param on the call to xmlStorageSystem.mailPasswordToUser.
		<<12/1/01; 1:04:21 PM by DW
			<<Created.
	local (pta = html.getpagetableaddress (), s = "");
	if pta^.method == "POST" {
		if not user.radio.settings.flPasswordStoredInCloud {
			system.temp.radio.misc.lastPingTime = date (0); //force a ping
			radio.thread.agents.pingCloud ()};
		xmlStorageSystem.mailPasswordToUser (user.prefs.mailAddress, adrmessage:@s, adrdata:@user.radio.prefs.defaultCloud)};
	return ("<tr><td colspan=\"2\"><br>" + s + "</td></tr>")}
<<bundle //test code
	<<local (t); new (tabletype, @t); t.method = "POST"; html.setpagetableaddress (@t)
	<<mailpassword ()



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.