Package com.day.cq.mailer
Interface MailService
- All Superinterfaces:
MessageGateway<Email>
The
MailService can be used to send emails.
The mail service is already configured with a mail host,
mail port and from address.
These values can be overwritten in the supplied email object.
This is a convenience to access an OSGI Service for a
MessageGateway
of type Email- See Also:
-
Method Summary
Methods inherited from interface com.day.cq.mailer.MessageGateway
handles, send
-
Method Details
-
sendEmail
Deprecated.since 5.4 useMessageGateway.send(Object)instead}Send an email. The mail service is already configured with a mail host, mail port and from address. These values can be overwritten in the supplied email object.- Parameters:
email- The email to sent.- Throws:
EmailException- in case sending fails
-
MessageGateway.send(Object)instead}