Infosys interview question

How to call email script?