not sending email

I installed em Client 2 days ago and set up both a gmail and icloud account.  I was able to sync both accounts and receive email from both accounts.  Unfortunately, I can not send email from either account.  I have verified SMTP settings for both, but nothing I am doing will fix the problem. 

I have also downloaded other email clients, like thunderbird and they are st up the same way with no problems.