Back to index
Summary
Send an email message.attachmentStringoptionalAttachments for the email. bccStringoptionalA user name or email address to include in the Bcc: header element.ccStringoptionalA user name or email address to include in the Cc: header element.configNameStringoptionalThe email configuration name. credentialNameStringoptionalThe name of the credential that contains the email password for the user from which CloudBees CD/RO sends email notifications. credentialProjectNameStringoptionalThe name of the credential project that contains the email password for the user from which CloudBees CD/RO sends email notifications. headerStringoptionalA raw RFC 822 header-line. htmlStringoptionalThe html text body of the message. inlineStringoptionalInline attachments. mailFromStringoptionalThe email address used as the email sender address for CloudBees CD/RO notifications. mailHostStringoptionalName of the email server host. mailPortIntegeroptionalThe port number for the email service on the server. mailProtocolStringoptionalName of the email transport protocol. Supported protocol names: SMTP , SMTPS .mailUserStringoptionalName of the email user on behalf of which CloudBees CD/RO sends email notifications. mailUserPasswordStringoptionalPassword of the email user on behalf of which CloudBees CD/RO sends email notifications. multipartModeStringoptionalThe multipart message mode. Defaults to none for single part messages and mixedRelated for messages with multiple parts.Possible values: "mixed" , "mixedRelated" , "none" , "related" rawStringoptionalA raw RFC 822 mail message including headers and body. subjectStringoptionalThe Subject header field of the message.textStringoptionalThe plain text body of the message. toStringoptionalA user name or email address to include in the To: header element. |
Usage
Perl
$cmdr->sendEmail( # optionals );
ectool
ectool sendEmail \ # optionals