File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -279,17 +279,17 @@ component accessors="true" singleton threadsafe {
279
279
// Just mail the darned thing!!
280
280
try {
281
281
// announce interception point before mail send
282
- variables .inteceptorService .processState ( " preMailSend" , { mail : arguments .mail } );
283
-
282
+ variables .inteceptorService .announce ( " preMailSend" , { mail : arguments .mail } );
283
+
284
284
// Get mailer
285
285
var mailerRecord = getMailer ( arguments .mail .getMailer () );
286
-
286
+
287
287
// We mail it with the mailer of choice
288
288
var results = mailerRecord .transit .send ( arguments .mail );
289
289
// Store results
290
290
arguments .mail .setResults ( results );
291
291
// announce interception point after mail send
292
- variables .inteceptorService .processState ( " postMailSend" , { mail : arguments .mail , result : results } );
292
+ variables .inteceptorService .announce ( " postMailSend" , { mail : arguments .mail , result : results } );
293
293
} catch ( Any e ) {
294
294
arguments .mail .setResults ( {
295
295
" error" : true ,
You can’t perform that action at this time.
0 commit comments