added smtp function.
added smtp function & customer search.