Work with attachments
1- Sending
// Define message
Message message = new MimeMessage(session);
message.setFrom(new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
message.setSubject("Hello JavaMail Attachment");
// Create the message part
Bod
Hello all,
Could you please provide a quick brief on the status of the CDI transition?
Are there any deadlines or target releases to have it ready? And reference
containers (Pico, etc.) that have to be supported?
Thank you very much,
Isaac.
-Original Message-
From: Paul Hammant [mailt
Hi,
Aside of the good documentation at James’
homepage, there’s a tutorial draft written by Stephan Weisner
(http://www.stephanwiesner.de/). It
is for an earlier James version (2.1.3) and the author doesn’t seem to
maintain the tutorial any more, but for me it has proven to be very help
ist
Subject: RE: james.getAbsolutePath ?
Try this:
String phoenixHome = System.getProperty("phoenix.home");
This'll give you the Phoenix home directory and you can work out the
rest from there.
Steve
-----Original Message-
From: Intelekia [mailto:[EMAIL PROTECTED]
Sent: Thur
Hi all,
Is there any way to obtain programmatically the folder where James is
installed? I am thinking of something like: james.getAbsolutePath();
The reason is that currently I put the path to some resources in the
config.xml and then load them at runtime. But if I use relative resources
(like "
Best regards,
Isaac.
-Original Message-
From: Serge Knystautas [mailto:[EMAIL PROTECTED]
Sent: viernes, 30 de abril de 2004 14:51
To: James Developers List
Subject: Re: Linux account integration
Intelekia wrote:
> Hi Serge,
>
> The best option is JAAS (Java Authentication and Authorization
Hi Serge,
The best option is JAAS (Java Authentication and Authorization Service),
introduced as an optional package in J2SE 1.3 and integrated into J2SE 1.4.
It implements a Java Pluggable Authentication Module (PAM) framework to
provide single authentication against Unix, Windows, Kerberos, etc.