Rev 1426 | Rev 1429 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1426 | Rev 1427 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | private 1.5.0/docs/api/java/lang/String.html">String emailTemplateName; |
32 | private 1.5.0/docs/api/java/lang/String.html">String emailTemplateName; |
33 | private List<String> arguments; |
33 | private List<String> arguments; |
34 | private 1.5.0/docs/api/java/lang/String.html">String fromName = null; |
34 | private 1.5.0/docs/api/java/lang/String.html">String fromName = null; |
35 | 35 | ||
36 | 36 | ||
- | 37 | public Email cloneEmailForJob(){ |
|
- | 38 | Email email = new Email(subject,recipients,from,emailTemplateName,arguments,type); |
|
- | 39 | email.systemAssumingTestEmail = this.systemAssumingTestEmail; |
|
- | 40 | email.isHtml = this.isHtml; |
|
- | 41 | email.subject = this.subject; |
|
- | 42 | email.recipients = this.recipients; |
|
- | 43 | email.type = this.type; |
|
- | 44 | email.from = this.from; |
|
- | 45 | email.emailTemplateName = this.emailTemplateName; |
|
- | 46 | email.arguments = this.arguments; |
|
- | 47 | email.fromName = this.fromName; |
|
- | 48 | return email; |
|
- | 49 | } |
|
- | 50 | ||
- | 51 | ||
37 | public boolean isHtml() { |
52 | public boolean isHtml() { |
38 | return isHtml; |
53 | return isHtml; |
39 | } |
54 | } |
40 | 55 | ||
41 | public void setHtml(boolean html) { |
56 | public void setHtml(boolean html) { |
Line 167... | Line 182... | ||
167 | return type; |
182 | return type; |
168 | } |
183 | } |
169 | 184 | ||
170 | public void setType(Message.RecipientType type) |
185 | public void setType(Message.RecipientType type) |
171 | { |
186 | { |
- | 187 | //TODO WHEN BACK TO BCC REMOVE this |
|
- | 188 | this.type = Message.RecipientType.TO; |
|
172 | this.type = type; |
189 | //this.type = type; |
173 | } |
190 | } |
- | 191 | ||
- | 192 | ||
174 | } |
193 | } |