I am unable to send emails through my gmail account from eM Client. It works from my yahoo account

Whenever I open eM Client I get an error for my gmail account but it still receives all my email to the inbox. When I try to send an email from my gmail account it just keeps cycling in there. I can send emails through my yahoo account.