2 of 2 people found this helpful
Thanks for bringing this to our notice. I am using SDK 6.0 to test the email snip. The error might have occurred because of the incorrect permission settings in the mail id by default used to send the email; i.e. firstname.lastname@example.org. If you modify the account details to your own mail id in the 154-156 lines of the snip, the application works just fine. One more thing, in your Gmail account settings, you have to enable sign in for less secure apps which is by default not enabled.
Let us know if you face any difficulty.
Thanks a lot! The less secure devises was the problem. I didn't knew that. I just created a new gmail box and thought its enough...
Have a nice day!