let me try to help you by asking some questions to make sure I understand your problems correctly.

I am using james 2.2.0. and my mailet is a seesion bean client which i am trying to deploy in jboss.My code looks something like

is it that you embedded James into JBoss?
or are they both stand-alone Servers and you are trying to relay Email from JBoss via James?


String recep=sb2.toString();
mail.getMessage().addRecipients(Message.RecipientType.TO,recep);
I am unable to send the mails to the recipients added here.Should i include any send mail command explicitly here?

you are talking about sending mail from within JBoss? if yes, you could follow the common javax.mail approach (open Session, assemble Message, send via Transport).

      Thanx in advance
How can i store the incoming mails in postgres database??

You can configure James to store incoming mails in a bunch of common DBs. Have a look at James' config.xml file.

-- bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to