I'm building my first Craft 3 site, and having problems getting email to send. I've set it to use Sendmail but when I click the Test button in the CP, I get "There was an error testing your email settings".
I know Sendmail isn't the best option but I need something for now until we get something more robust in place. My client doesn't yet have any email set up for this domain, but I assume Sendmail should still be able to create email?
I've tried using Sendmail from the command line and that seems to work fine. For each attempt to test from the control panel, I get this error in web.log:
2018-08-20 10:02:55 [184.108.40.206][-][error][application] Error sending email: Expected response code 220 but got code "", with message ""
I'm on Craft 3.0.19. Any ideas what might be going wrong?