SMTP1 working just need to write to file