public class SendEmailRequest extends Object
Request to send an email
See https://schemas.taskcluster.net/notify/v1/email-request.json#
Modifier and Type | Class and Description |
---|---|
class |
SendEmailRequest.Link |
Modifier and Type | Field and Description |
---|---|
String |
address
E-mail address to which the message should be sentSee https://schemas.taskcluster.net/notify/v1/email-request.json#/properties/address
|
String |
content
Content of the e-mail as markdown, will be rendered to HTML before the email is sent.
|
SendEmailRequest.Link |
link
Optional link that can be added as a button to the email.
|
String |
replyTo
Reply-to e-mail (this property is optional)See https://schemas.taskcluster.net/notify/v1/email-request.json#/properties/replyTo
|
String |
subject
Subject line of the e-mail, this is plain-textMin length: 1 Max length: 255See https://schemas.taskcluster.net/notify/v1/email-request.json#/properties/subject
|
String |
template
E-mail html template used to format your content.
|
Constructor and Description |
---|
SendEmailRequest() |
public String address
E-mail address to which the message should be sent
See https://schemas.taskcluster.net/notify/v1/email-request.json#/properties/address
public String content
Content of the e-mail as markdown, will be rendered to HTML before the email is sent. Notice that markdown allows for a few HTML tags, but won’t allow inclusion of script tags and other unpleasantries.
Min length: 1 Max length: 102400
See https://schemas.taskcluster.net/notify/v1/email-request.json#/properties/content
public SendEmailRequest.Link link
Optional link that can be added as a button to the email.
See https://schemas.taskcluster.net/notify/v1/email-request.json#/properties/link
public String replyTo
Reply-to e-mail (this property is optional)
See https://schemas.taskcluster.net/notify/v1/email-request.json#/properties/replyTo
public String subject
Subject line of the e-mail, this is plain-text
Min length: 1 Max length: 255
See https://schemas.taskcluster.net/notify/v1/email-request.json#/properties/subject
public String template
E-mail html template used to format your content.
Possible values: * “simple” * “fullscreen” Default: “simple”
See https://schemas.taskcluster.net/notify/v1/email-request.json#/properties/template
Copyright © 2014–2018 Mozilla. All rights reserved.