Fixed smtp bugs. Looks good now. Using localhost