download javamail api from sun website.. alos u can download some other reference...