Sorry but i don't understand whats your problem.. Please can you explain
a bit more and add logs or something like that ?

bye

Am Dienstag, den 11.04.2006, 19:01 +0200 schrieb Thibaut:
> hi,
> 
> I receive email on the port 25 with james. I try to send email from the 
> james server (to confirm the reception).
> 
> I do :
> 
>               Properties props = System.getProperties();
>               props.put("mail.smtp.host", "localhost");
>               Session session = Session.getDefaultInstance(props, null);
>               MimeMessage message = new MimeMessage(session);
>               message.setFrom(new InternetAddress(this.from));
>               InternetAddress adresTo = new InternetAddress(to);
>               message.addRecipient(Message.RecipientType.TO, adresTo);
>               message.setSubject(subject);
>               message.setContent(content, "text/html");
>               javax.mail.Transport.send(message);
> 
> 
> but this doesn't work. (no error but no mail leaves)
> I read http://james.apache.org/FAQ.html#3 but i can't figure out the 
> solution.
> 
> Can anyone help me ?
> 
> Thibaut
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> !EXCUBATOR:2,443be1db152251574557938!


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

Reply via email to