File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
grails-app/services/io/xh/hoist/email
src/main/groovy/io/xh/hoist/util Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class EmailService extends BaseService {
6363 filter = parseMailConfig(' xhEmailFilter' ),
6464 toSpec = filterAddresses(formatAddresses(args. to), filter),
6565 ccSpec = filterAddresses(formatAddresses(args. cc), filter),
66- bccSpec = filterAddresses(formatAddresses(args. cc ), filter)
66+ bccSpec = filterAddresses(formatAddresses(args. bcc ), filter)
6767
6868 List<String > toUse = override ? override : toSpec
6969 List<String > ccUse = override ? [] : ccSpec
@@ -114,11 +114,11 @@ class EmailService extends BaseService {
114114 if (bccUse) {
115115 bcc bccUse. toArray()
116116 }
117- if (markImportant) {
118- headers(
119- Importance : ' High' ,
120- X- MSMail - Priority : ' High'
121- X- Priority : 1
117+ if (args . markImportant) {
118+ headers (
119+ ' Importance' : ' High' ,
120+ ' X-MSMail-Priority' : ' High' ,
121+ ' X-Priority' : 1
122122 )
123123 }
124124
Original file line number Diff line number Diff line change 11package io .xh .hoist .util ;
22
3+ import java .util .*;
4+ import java .util .function .Function ;
5+
36/**
47 * Hoist tools for creating/manipulating collections in Java using groovy
58 * like syntax.Useful for applications with large datasets and high performance
You can’t perform that action at this time.
0 commit comments