• Previously it was giving error because i didn't have SQL Mail in Support Services.

    Now it works fine for me. This is perfect.

    Thanks