So this:

    /**
     * Method createMail creates a new <code>Mail</code>.
     * 
     * @param message
     * @param recipient
     * @return Mail
     * @throws MessagingException
     */
    protected Mail createMail(MimeMessage message, MailAddress recipient) 
throws MessagingException, UnknownHostException {
        Collection<MailAddress> recipients = new ArrayList<MailAddress>(1);
        recipients.add(recipient);
        MailImpl mail = new MailImpl(MailImpl.getId(), getSender(), recipients, 
message);



On Aug 17, 2012, at 3:12 PM, Joshua Armstrong wrote:

> On 8/17/2012 2:08 PM, tim wrote:
>> have you found where in the code james is doing the imap storage?
>> 
>> i might need to do this as well at some later date.
>> 
>> 
> <snip>
> 
> I believe I have, yes.  Mainly in the 
> org.apache.james.fetchmail.FolderProcessor class.  It imports all the 
> mechanics from javax.mail and then sets up the plumbing between James' 
> FetchMail and the actual mail storage system from javax.mail.
> 
> -- 
> Joshua M. Armstrong
> Software Engineer
> Centurion, Inc.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

Reply via email to