Have you tried search on
google[
^].
A simple search with your question gives 2,550,000 results, many of those threads surely solve your problem.
Try something by your side first Kashinath.
This is not at all appropriate.
Here is article from CP, and first threads of above search results.
Send mail without specifying an SMTP server[
^]
..and more similar threads on
CP Search[
^]