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

Mail.addTo()

Adds a recipient to the address list of an e-mail message.

Syntax
mailObject.addTo(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");
mail.addTo("hopdoc@helma.at");
mail.addTo("tobi@helma.at", "Tobi Schaefer");


... comment


Page last modified on 2002-07-10 08:29 by tobi