App not working

Please check my block my app is not working it says Runtime Error when I try to send email. Anyone know how to fix this problem ?

remove that host & port & attachment only support links of images.

If I remove host and port , then how email will be sent ?