orschiro I can log in and even post after reloading the page? It just doesn't allow me to post on the first attempt.
When you post Flarum immediately after storing the post to the database sends out the emails to subscribers. If this fails it will throw an error. The post is still saved but won't be shown due to the error. Refreshing the page will then correctly render the post.
orschiro If I don't switch accounts, then I can post properly as well.
It just happens once I switch accounts.
This probably relates to the fact that the email notifications are only sent when one account posts, because the other is subscribed. In case more users are ought to receive notifications on posting, the process fails again.
Also understand that the email verification and password reset emails won't be send in case mail errors occur. So definitely hunt those, there are discussions here on Discuss on how to use Gmail as the mail provider.