@jc:email Annotation
Specifies class- and method-level configuration attributes for the Email control.
Syntax
jc:email
[from-address="from-address"]
[from-name="from-name"]
[smtp-address="smtp-address"]
[reply-to-address="reply-to-address"]
[reply-to-name="reply-to-name"]
[smtp-username="smtp-username"]
[smtp-password="smtp-password"]
[smtp-password-alias="smtp-password-alias"]
[header-encoding="header-encoding"]
Attributes
These attributes determine the default behavior of the Email control. The Email control may be configured during its lifetime by calling methods of the EmailControl class.
from-address
A string containing the originating e-mail address. This attribute is required if the from-name attribute is present.
from-name
A string containing the display name for the originating e-mail address. This attribute is optional.
smtp-address
A string containing the address of the SMTP server in host:port or host form. If the port is not specified, the standard SMTP port of 25 is used. This attribute is required.
reply-to-address
A string containing the e-mail address to reply to. This attribute is required if the reply-to-name attribute is present.
reply-to-name
A string containing the display name for the reply-to-address. This attribute is optional.
smtp-username
A string containing the username for server's that require authentication to send. This attribute is optional.
smtp-password
A string containing the associated password. This attribute is optional.
smtp-password-alias
A string containing the password alias. The alias is used to look up the password in the password store. This attribute is optional and is mutually exclusive with the smtp-password attribute.
header-encoding
A string specifying the encoding to be used for the mail headers as specified by from-name, reply-to-name, to, bc, bcc, subject, and attachments. If no header encoding is specified, the system default encoding is used.
Related Topics
Email Control
@jc:send-email Annotation