Versions Compared

Key

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

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=sendEmail+-+433654656
widthauto

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

sendEmail([from], to, [cc], subject, body_or_template, [language]

Package

Alias

Pkg Usage

...

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

Parameter name

Type

Required

Description

from

String

No

From address

to

string []

Yes

Recipient list

cc

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 []

No

Name patterns to match the attachments from the issue

wildcard_path_array

String []

No

Absolute paths containing wildcards for attaching files from disk

Return Type

...

Examples

Example 1

Code Block
languagejs
sendEmail("projectmanager", "teamleader1", "Transition executed", currentUser() + " has executed a transition");
// here we have to, cc, subject and body.
// The from and language parameters were omitted.

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "system_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.