Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-2207

Add an expandable example showing how to change the default FROM email address

    XMLWordPrintableJSON

    Details

    • Sprint:
      Sprint 37 - Ends Nov 14, Sprint 37 - Ends Nov 28
    • Critical Points:
      0.6

      Description

      ScriptRunner uses the FROM address configured for the SMTP server by default. Users commonly ask how to change the default FROM email address when creating a custom email post function. This can easily be done by placing

      mail.setFrom("yourboss@example.com")

      in the Conditions and Configurations box.

      It would be nice if this code could be added as an example whenever the user clicks "Expand Examples" below the Conditions and Configurations box.

        Attachments

          Activity

            People

            Assignee:
            jyamdogo Joshua Yamdogo
            Reporter:
            jyamdogo Joshua Yamdogo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: