Did you allow sending mails by unsecure email-clients in your Gmail-account settings?
Maybe you will find a solution there: