I think the problem is with hikvision instead of Gmail. I have no problem using Gmail to send me alert from my other foscam. Instead of Gmail or gmx, I now use the email provided by my ISP and that works. Is there a reason why we all tend to use Gmail instead of the email provided by our ISP?