@com.adaptavist.hapi.jira.analytics.Tracked class Mail extends java.lang.Object
| Constructor and description |
|---|
Mail
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
send(groovy.lang.Closure<?> specification)Adds a mail to the mail queue. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Adds a mail to the mail queue. Assuming you have an SMTP server set up, it will be sent with one minute. If you have no mail server set up it will be ignored.
specification - description of the mail including recipients and contents