ESP8266 Arduino SMTP Server part 2

This is a continuation of the first miserable attempt at having an ESP8266 receive a signal from a DVR. Click here for part 1. This is continued in part 3. Goal: Have a CK-PA9604 H.264 CCTV DVR send a signal on motion detected, to an arduino-programmed ESP8266 Wifi SMTP server, to sound a chime in a separate location. Background: This …