Helma logo
helma.org » Home > docs > reference > Mail Client

Mail Client

Helma's built-in mail client enables you to send e-mail via SMTP.

A mail client object is created by using the Mail() constructor.

Syntax
Mail()

The mail object then can be manipulated and sent using the functions listed below.

You'll need the JavaMail library installed for this to work. Also, don't forget to set your mail server via the smtp property in the app.properties or server.properties file.

Note: Make sure that the SMTP server itself is well-configured, so that it accepts e-mails coming from your server and does not deny relaying.

Best and fastest configuration is of course if you run your own SMTP server (e.g. postfix) which might be a bit tricky to set up, however.

Functions and properties:


Up: Reference
Previous: Response Object Next: FTP Client

... comment


Page last modified on 2003-10-07 18:09 by tobi