rem: res.message = sendMail(session.user.email, this.user.email, getMessage("mail.toUser", root.sys_title), mailbody); 
add: sendMail(session.user.email, this.user.email, getMessage("mail.toUser", root.sys_title), mailbody); res.message = new Message("mailSend"); 
context: Membership.prototype.mailto_action = function() {   if (req.data.cancel)      res.redirect(this._parent.href());   else if (req.data.send) {      if (req.data.text) {         try {            var mailbody = this.renderSkinAsString("mailmessage", {text: req.data.text});            res.message = sendMail(session.user.email,                                    this.user.email,                                    getMessage("mail.toUser", root.sys_title),                                   mailbody);            res.redirect(this._parent.href());         } catch (err) {            res.message = err.toString();         }      } else {         res.message = new Exception("mailTextMissing");      }   }      res.data.action = this.href(req.action);   res.data.title = getMessage("Membership.sendEmailTitle", {userName: this.username});   res.data.body = this.renderSkinAsString("mailto");   this.site.renderSkin("page");   return;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/e9a7800a87905f590201a6af0beb752a4e65a080/Membership.js/buggy/code/Membership/Membership.js