Thanks jep for the quick response.But when im sending with different program written in java i was able to send into inbox. So i thought problem was with the python code only. Narendra