-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix email alert bug, add #define DNS_IP and SMTP_IP
- Loading branch information
Showing
5 changed files
with
64 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
#define NTPSERVER 193,193,193,107 //pool.ntp.org | ||
#define LOCAL_IP 192,168,0,15 //change this to a local fixed ip address | ||
#define ROUTER_IP 192,168,0,1 //change this to your router ip address | ||
//#define DNS_IP 75,75,75,75 //specify this if your router does not do dns forwarding | ||
#define ROUTER_PORT 80 //usually port 80 for the ip configuration web page | ||
////////////////////////////////////////////////// | ||
// DS18B20 Temperature Sensor Section | ||
|
@@ -105,11 +106,12 @@ | |
//SMTPUSER = your email login, sample below is admin | ||
//SMTPPASSWORD = your email password, sample below is password | ||
#define BASICAUTH "YWRtaW46cGFzc3dvcmQ=" | ||
#define SMTPSERVER "my.smtp.net" | ||
#define SMTPSERVER "smtp.gmx.net" | ||
#define SMTP_IP 74,208,5,30 | ||
#define SMTPPORT 587 | ||
#define SMTPUSER "YWRtaW4=" | ||
#define SMTPPASSWORD "cGFzc3dvcmQ=" | ||
#define EMAILFROM "user@host.com" | ||
#define EMAILFROM "user@gmx.com" | ||
#define EMAILTO "[email protected]" | ||
#define SD_CS 4 | ||
#define ETHER_CS 10 | ||
|