...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
from | String | No | From address | to | string string [] | Yes | Recipient list | cc | string string [] | No | CC'ed recipient list | subject | String | Yes | Subject | body_or_template | String | Yes | Message body, either direct or a template | language | String | No | Language used to send the email(relevant only if you use templates) | issue_key | String | No | Issue to extract attachments from | regex_array | String String [] | No | Name patterns to match the attachments from the issue | wildcard_path_array | String String [] | No | Absolute paths containing wildcards for attaching files from disk | |
...
If SendEmailLanguage has the value receiver_language, testJiraUser1 is a Jira user having the defined language French and testJiraUser2 is a Jira user having the defined language German.
Code Block |
---|
string [] to = {"testJiraUser1", "testEmail@cprime.com", "testJiraUser2"};
string [] cc = {"testEmail2@cprime.com"};
sendEmail("testFrom@cprime.com", to, cc, "testSubject.tpl", "testBody.tpl"); |
...