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

Mail.send()

Sends an e-mail message.

Syntax
mailObject.send()

This function sends the message created with the Mail object using the SMTP server as specified in an either the app.properties or the server.properties file.

Example
var mail = new Mail();
mail.setTo("watching@michi.tv", "michi");
mail.addCC("franzi@home.at", "franzi");
mail.addBCC("monie@home.at");
mail.setFrom("chef@frischfleisch.at", "Hannes");
mail.setSubject("Registration Conformation");
mail.addText("Thanks for your Registration...");
mail.send();


... comment


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