benoit not divulgued

Greenhorn
+ Follow
since Jan 23, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

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
20 years ago