Helma logo
helma.org » Home > Stories > Mail.setTo()

Mail.setTo()

Sets the recipient of an e-mail message.

Syntax
mailObject.setTo(emailString, nameString)

The emailString argument specifies the receipient's e-mail address. The optional nameString argument specifies the name of the recipient.

Example
var mail = new Mail();
mail.setTo("hop@helma.at");


... comment


Page last modified on 2002-07-17 12:48 by tobi