created smtp appender to send error report
fixed code
added httpOptions and test code