benoit not divulgued

Greenhorn
+ Follow
since Jan 23, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by benoit not divulgued

Hi DC Dalton,
I had the same problem and so after passing few minutes in the javadoc of JavaMail I'd found this :
Transport tr = agentSession.getTransport( "smtp" );
tr.connect( host, port, username, password );
try
{
message.saveChanges();
tr.sendMessage( message, message.getAllRecipients() );
}
finally
{
tr.close();
}
For me it's working so I hope it will help you.

Bye ThE_GuEsT
be nice... I like the terms of this site
21 years ago