For the most part, Email works pretty well in macOS. There are times though when it just has problems. One common email problem is not being able to send mail. There can be several things that cause this issue. If you are experiencing this problem, or for future reference, read this article which lists different things you can try to resolve this issue. The article is a bit technical, but has good information.