Copyright© 2008-2022 Sitevision AB, all rights reserved.
public interface Mail
An instance of the Sitevision class implementing this interface can be obtained via MailBuilder.build().
See MailBuilder for how to obtain an instance of the MailBuilder interface.
MailBuilder| Modifier and Type | Method and Description |
|---|---|
boolean |
send()
Sends this mail synchronously.
|
void |
sendAsync()
Sends this mail asynchronously.
|
boolean send()
true if no error was reported from the Sitevision mail service, false otherwise.
Important node! A true value implies that the mail is sent as far as the Sitevision
mail service can tell, but it doesn't guarantee that the actual mail server (whose configuration is specified on the
Sitevision server node) has done so. The mail might be queued, quarantined or silently ignored by the mail server.void sendAsync()
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.