Global.helma.Mail.setFrom (addstr, name)
Sourcecode in /home/hannes/helma/modules/helma/Mail.js:
102:   this.setFrom = function(addstr, name) {
103:           try {
104:               if (addstr.indexOf("@") < 0) {
105:                   throw new AddressException();
106:               }
107:               if (name != null) {
108:                   var address = new InternetAddress(addstr, 
109:                                     MimeUtility.encodeWord(name.toString()));
110:               } else {
111:                  var address = new InternetAddress(addstr);
112:              }
113:              message.setFrom(address);
114:          } catch (mx) {
115:              res.debug(errStr + ".setFrom(): " + mx);
116:              setStatus(FROM);
117:          }
118:          return;
119:      }