Email cannot be sent through google


I am trying to send emails to my google account, but it keeps getting denied everytime with the following error.

Although my account is already logged in, it still shows the error. I have tried lowering the security settings on the google account, by allowing less secured applications to go in, but to no avail.



If I remember, when you send it, a security warning will be issued and you must allow it, in the mail. 

Another problem may be the sender. If you are setting the From, or the default sender are not the same account of your mail (configures smtp), you need to configure it as alloeed in gmail.