add smtp protocol to file