Can the change of the IP of the host affect email delivery?

I haven’t seen this problem myself. Can you share your smpt provider?

At a guess you may need to login to your smpt account and change your discourse server IP address?