SyntaxFix
Write A Post
Hire A Developer
Questions
Try this instead :
$Correo->Username = "foo@gmail.com";
I tested it and its working perfectly without no other change