Updated SendMail function and removed post time