SMTP Mail Message Error - An invalid character was found in the mail header: ‘"’

For the last error, check this solution as you need to create a specific app password for your Gmail account Send SMTP Mail Message, Message: 534: 5.7.9 Application-specific password required - #2 by marian.platonov