A B C F G H I M O R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- attachment(byte[], String, String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- attachment(byte[], String, String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Attaches the given content to the message.
- attachment(byte[], String, String, Collection<Header>) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- attachment(byte[], String, String, Collection<Header>) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Attaches the given content with headers to the message.
B
- bcc(InternetAddress) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- bcc(InternetAddress) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Adds the given address to the list of blind carbon copy (
bcc
) recipients. - bcc(InternetAddress[]) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- bcc(InternetAddress[]) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Adds the given addresses to the list of blind carbon copy (
bcc
) recipients. - bcc(String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- bcc(String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates a new
InternetAddress
from given address and adds it to the list of blind carbon copy (bcc
) recipients. - bcc(String[]) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- bcc(String[]) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates new
InternetAddress
es from given addresses and adds them to the list of blind carbon copy (bcc
) recipients. - bcc(String, String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- bcc(String, String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates a new
InternetAddress
from given address and name and adds it to the list of blind carbon copy (bcc
) recipients. - bcc(Collection<String>) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- bcc(Collection<String>) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates new
InternetAddress
es from given addresses and adds them to the list of blind carbon copy (bcc
) recipients. - build() - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- build() - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Builds the MIME message with the given input.
C
- cc(InternetAddress) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- cc(InternetAddress) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Adds the given address to the list of carbon copy (
cc
) recipients. - cc(InternetAddress[]) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- cc(InternetAddress[]) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Adds the given addresses to the list of carbon copy (
cc
) recipients. - cc(String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- cc(String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates a new
InternetAddress
from given address and adds it to the list of carbon copy (cc
) recipients. - cc(String[]) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- cc(String[]) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates new
InternetAddress
es from given addresses and adds them to the list of carbon copy (cc
) recipients. - cc(String, String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- cc(String, String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates a new
InternetAddress
from given address and name and adds it to the list of carbon copy (cc
) recipients. - cc(Collection<String>) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- cc(Collection<String>) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates new
InternetAddress
es from given addresses and adds them to the list of carbon copy (cc
) recipients.
F
- from(InternetAddress) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- from(InternetAddress) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Sets the given address for the RFC 822
From
header field. - from(String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- from(String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates a new
InternetAddress
from given address and sets it for the RFC 822From
header field. - from(String, String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- from(String, String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates a new
InternetAddress
from given address and name and sets it for the RFC 822From
header field.
G
- getMessageBuilder() - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMailService
- getMessageBuilder() - Method in interface org.apache.sling.commons.messaging.mail.MailService
-
Provides the message builder for this service.
- getMessageId(MimeMessage) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageIdProvider
- getMessageId(MimeMessage) - Method in interface org.apache.sling.commons.messaging.mail.MessageIdProvider
-
Provides an identifier for given message.
H
- header(String, String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- header(String, String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates a new header from given name and value and adds it to the list of headers.
- headers(Collection<Header>) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- headers(Collection<Header>) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Adds the given headers to the list of headers.
- html(String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- html(String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Sets the HTML content.
I
- inline(byte[], String, String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- inline(byte[], String, String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Inlines the given content into the message.
- inline(byte[], String, String, Collection<Header>) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- inline(byte[], String, String, Collection<Header>) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Inlines the given content with headers into the message.
M
- MailService - Interface in org.apache.sling.commons.messaging.mail
-
Service for sending MIME messages.
- MessageBuilder - Interface in org.apache.sling.commons.messaging.mail
-
Builder for MIME messages.
- MessageIdProvider - Interface in org.apache.sling.commons.messaging.mail
-
Provider for message identifiers.
O
- org.apache.sling.commons.messaging.mail - package org.apache.sling.commons.messaging.mail
-
Provides the Apache Sling Commons Messaging Mail API.
- org.apache.sling.commons.messaging.mail.internal - package org.apache.sling.commons.messaging.mail.internal
-
Provides a simple implementation of the Apache Sling Commons Messaging Mail API using SMTPS (Simple Mail Transfer Protocol Secure).
R
- replyTo(InternetAddress) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- replyTo(InternetAddress) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Adds the given address to the list of addresses for the RFC 822
Reply-To
header field. - replyTo(InternetAddress[]) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- replyTo(InternetAddress[]) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Adds the given addresses to the list of addresses for the RFC 822
Reply-To
header field. - replyTo(String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- replyTo(String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates a new
InternetAddress
from given address and adds it to the list of addresses for the RFC 822Reply-To
header field. - replyTo(String[]) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- replyTo(String[]) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates new
InternetAddress
es from given addresses and adds them to the list of addresses for the RFC 822Reply-To
header field. - replyTo(String, String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- replyTo(String, String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates a new
InternetAddress
from given address and name and adds it to the list of addresses for the RFC 822Reply-To
header field. - replyTo(Collection<String>) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- replyTo(Collection<String>) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates new
InternetAddress
es from given addresses and adds them to the list of addresses for the RFC 822Reply-To
header field.
S
- sendMessage(MimeMessage) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMailService
- sendMessage(MimeMessage) - Method in interface org.apache.sling.commons.messaging.mail.MailService
-
Sends the given MIME message.
- SimpleMailService - Class in org.apache.sling.commons.messaging.mail.internal
-
Service for sending MIME messages (mails) via
SMTPS
protocol. - SimpleMailService() - Constructor for class org.apache.sling.commons.messaging.mail.internal.SimpleMailService
- SimpleMessageBuilder - Class in org.apache.sling.commons.messaging.mail.internal
-
Builder for MIME messages.
The message builder is using theSession
formSimpleMailService
and the standard charsetUTF-8
. - SimpleMessageIdProvider - Class in org.apache.sling.commons.messaging.mail.internal
-
Provider for message identifiers.
Creates aMessage-ID
in form of<UUID>.<current time in milliseconds>@<host>
wherehost
is configurable. - SimpleMessageIdProvider() - Constructor for class org.apache.sling.commons.messaging.mail.internal.SimpleMessageIdProvider
- subject(String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- subject(String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Sets the given subject into the
Subject
header field.
T
- text(String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- text(String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Sets the plain text content.
- to(InternetAddress) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- to(InternetAddress) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Adds the given address to the list of primary (
to
) recipients. - to(InternetAddress[]) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- to(InternetAddress[]) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Adds the given addresses to the list of primary (
to
) recipients. - to(String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- to(String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates a new
InternetAddress
from given address and adds it to the list of primary (to
) recipients. - to(String[]) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- to(String[]) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates new
InternetAddress
es from given addresses and adds them to the list of primary (to
) recipients. - to(String, String) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- to(String, String) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates a new
InternetAddress
from given address and name and adds it to the list of primary (to
) recipients. - to(Collection<String>) - Method in class org.apache.sling.commons.messaging.mail.internal.SimpleMessageBuilder
- to(Collection<String>) - Method in interface org.apache.sling.commons.messaging.mail.MessageBuilder
-
Creates new
InternetAddress
es from given addresses and adds them to the list of primary (to
) recipients.
All Classes All Packages