Versions Compared

Key

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

...


If you have Gmail configured as your SMTP mail server, you may need to change some settings on your Gmail account.

  1. Enable "less secure" apps. For more information, see this Google documentation on Less secure apps & your Google Account

  2. Unlock your Gmail account:

While you may be able to access your Gmail account, chances are it has been locked for use by third-party apps (in this case, Jira) due to excessive logins. See this Google documentation on unlocking a Gmail account: DisplayUnlockCaptcha

...

Try using a simple script to test that the configuration is set up correctly and that sendEmail() works as expected.

Example sendEmail() code


Code Block
sendEmail("first.last@example.com", "subject", "body");


null sender

If this does not work, the first thing to check is that the mail configuration is set up correctly. Check that the "Send mail via" option has a "sender" option selected. See this screenshot from the documentation:

...

The most common error in configuration is that "Null sender" (the default option) is selected. It is suggested to use the "Container sender" as this uses the least amount of system resources. For more information, see this Power Scripts documentation on mail configuration.

Getting support

If these troubleshooting steps do not work, please create a support request on our Power Scripts Service Desk Portal.

...

Filter by label (Content by label)
page
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@135a7
showSpacefalse
sortmodified
showSpacetypefalsepage
reversetruetype
labelskb-troubleshooting-article
cqllabel = "kb-troubleshooting-article" and type = "page" and space = "PKB"labelskb-troubleshooting-article
Page Properties
hiddentrue


Related issues



...