Webmail works, but email won't send from Mac Mail
I had to change my email server, as the old one was being retired. When I first installed this on Mac Mail it worked. I had to revert to the old server to try and download more historic emails, and then deleted that and re-installed the new IMAP and SMTP settings.
Before going further I should add that I can send and receive fine with the new settings on webmail, my iPhone and also using the Spark mail app on my Mac.
I can receive email, but can't send it. When I click send I hear the 'whoosh' It then says 'sending message'. However it doesn't arrive, isn't in the 'sent' folder or in the 'outbox'. I feel it might be something to do with 'Internet account' settings not working correctly. I only come to this conclusion because Spark doesn't use Apple's 'internet account' settings.
If anyone has any thoughts, I'd be grateful. It's been driving me crazy!
MacBook Pro (M2, 2022)