I have the same problem, but it occurred way before I downloaded IOS 18:
I have Hotmail as my main email account—have for decades. Lately, the mail app on my iPhone Willy Nilly decides my password is incorrect and stops receiving and sending mail. I use the same password I have been using since I changed it earlier this year and sometimes it gets my mail working and sometimes it doesn’t. Oddly enough, the mail app on my iPad doesn’t behave this way, logging on to Outlook via a browser to access my mail doesn’t have a problem—it’s just on my phone mail app. I’m at a loss as to how to fix this. Any help would be greatly appreciated.
I’m getting: Network Error POSIX 96