Not able to send Mail

try debugging the excel SMTP value in writeline to see the value. may be the data is not reading properly from excel