Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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");

...