Thanks so much for posting this!!! My emails stopped working about 4 days and I was racking my brain trying to figure this out. It's been working fine since last summer, no changes to router or NVR so very odd it just stopped.
But once I read this and just entered the ip address for gmail smtp...