james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haipeng du <haipen...@gmail.com>
Subject send email twice to the same email address
Date Wed, 08 Sep 2010 21:52:23 GMT
I try to use mail context to send email:
this.getMailetContext().sendMail(mail.getSender(), emailAddress,
                                                 mail.getMessage(),
MY_FORWARD_PROCESSOR);
mail.getMessage().setSubject("Changed subject");
this.getMailetContext().sendMail(mail.getSender(),
this.jobApplyAdminAddress,
                                                 mail.getMessage(),
JobApplyProcessingConfigContext.FORWARD_PROCESSOR);

 it will only send mail one time.
What kind of stuff I missed?
Thanks.

-- 
Haipeng Du
Salt Lake City

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message