thanks christos,
the code from the given link is working.
but everytime for sending the mail i have to restart my webrick server.
also it gives me warning like “ipV6 is disabled”.
so how to solve this problem.
thanks again for giving me reply.
please send some solution for this problem.
abhishek