| 1 |
DESCRIPTION |
| 2 |
|
| 3 |
This plugin allows one to send an email when releasing. |
| 4 |
|
| 5 |
FIELDS |
| 6 |
|
| 7 |
from |
| 8 |
|
| 9 |
Who is sending the email? |
| 10 |
|
| 11 |
[EmailNotify] |
| 12 |
from = [email protected] |
| 13 |
|
| 14 |
recipient |
| 15 |
|
| 16 |
Multiple single recipients. These will compose the 'to' field. |
| 17 |
|
| 18 |
[EmailNotify] |
| 19 |
recipient = [email protected] |
| 20 |
recipient = [email protected] |
| 21 |
|
| 22 |
to |
| 23 |
|
| 24 |
Direct recipients string. This should be comma separated. |
| 25 |
|
| 26 |
[EmailNotify] |
| 27 |
to = [email protected], [email protected] |
| 28 |
|
| 29 |
cc |
| 30 |
|
| 31 |
Any CC you may want. This should be comma separated. |
| 32 |
|
| 33 |
[EmailNotify] |
| 34 |
cc = [email protected], [email protected] |
| 35 |
|
| 36 |
bcc |
| 37 |
|
| 38 |
Any BCC you may want. This should be comma separated. |
| 39 |
|
| 40 |
[EmailNotify] |
| 41 |
bcc = [email protected] |
| 42 |
|
| 43 |
ATTRIBUTES |
| 44 |
|
| 45 |
to(Str) |
| 46 |
|
| 47 |
The 'to' email field. |
| 48 |
|
| 49 |
recipient(ArrayRef[Str]) |
| 50 |
|
| 51 |
This array reference of strings will be used to compose the 'to' email |
| 52 |
field. |
| 53 |
|
| 54 |
It is used in case you want to comfortably write down the recipients |
| 55 |
instead of one long string. This is not provided for other fields. |
| 56 |
|
| 57 |
from(Str) |
| 58 |
|
| 59 |
The 'from' email field. |
| 60 |
|
| 61 |
cc(Str) |
| 62 |
|
| 63 |
The 'cc' email field. |
| 64 |
|
| 65 |
bcc(Str) |
| 66 |
|
| 67 |
The 'bcc' email field. |
| 68 |
|
| 69 |
METHODS/SUBROUTINES |
| 70 |
|
| 71 |
after_release |
| 72 |
|
| 73 |
Method to actually send the email right after the 'release' process. |
| 74 |
Takes all the arguments, creates a body message text using last change |
| 75 |
log entry and sends the email using Email::Stuff. |
| 76 |
|
| 77 |
_build_to |
| 78 |
|
| 79 |
Builder to take all the recipient attribute values and create a single |
| 80 |
string. |
| 81 |
|
| 82 |
mvp_multivalue_args |
| 83 |
|
| 84 |
Internal, Config::MVP related. Creates a multivalue argument. |
| 85 |
|