about Send JavaMail

I write a program in my servlet to sendmail, at end of send mail:

I use Transport.send(message);

there are no exceptions and the mail session debug shows that 250 OK was returned.

but I didn't receive any mails

but if I change Transport.send(message);

to the follows

Transport transport = getMailSession().getTransport("smtp");

transport.connect("smtp.mail.yahoo.co.jp","user","pass");

transport.sendMessage(message, message.getAllRecipients());

transport.close();

I soon receive the sent mails.

can anyone explain this? I think it is right of the two method, but the former the smtp server queueed my mails,

[786 byte] By [okoi80a] at [2007-11-27 1:33:34]
# 1
in both methods I have used authentication
okoi80a at 2007-7-12 0:39:44 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Look at the protocol trace. You may have requested authentication inboth cases, but did it actually occur in both cases?Most likely you're going to need to look at the logs in your mail server todetermine what it did with the message it accepted from
bshannona at 2007-7-12 0:39:44 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...