thnx but already used 2 jar files(mail,activation)on classpath no error in my code but exception in Transfer.send(message) which i already caught ,if u have any contact then i can mail my code on
it .Also i change my port =567 but problem is same, sould u plz tell me if there r other sett
ings to be done for yahoomail host.
i will be very gratefull if u help me in this problem.
plz help me to solve it
How can i send mail to my yahoo id using java mail?
try this link
dogchannel