fix email alert bug, add #define DNS_IP and SMTP_IP