15.06.2018, 10:55
It still doesnt work.
And,I don't understand what to define in the url.
#define SAMPMAILJS_URL "172.xx.xx.xx:8080"
what did I do wrong?I put sampmail.js in /root/
404 is the response code I got.
My configs:
the URL is my VPS IP.
And,I don't understand what to define in the url.
#define SAMPMAILJS_URL "172.xx.xx.xx:8080"
what did I do wrong?I put sampmail.js in /root/
404 is the response code I got.
My configs:
PHP код:
var localIP = "127.0.0.1";
var port = 8080;
var httpPassword = "1234";
var ******_Account = "kxxxx@gmail.com";
var ******_ClientID = "8xxxx.apps.******usercontent.com";
var ******_ClientSecret = "xxxx";
var ******_RefreshToken = "xxxxxxxxxxxx";
PHP код:
#define SAMPMAILJS_URL "172.xxx.xxx.xxx:8080" // IP + PORT of the server running the NodeJS script
#define SAMPMAILJS_PASSWORD "1234" // This password should be the same as the NodeJS script
#define SAMPMAILJS_CONSOLELOG 1 // Log some information on console
#define SAMPMAILJS_MAXPOSTDATA 2048 // Cellsize of the variable that holds the data sent to the script. Lower for small emails, higher for more extense emails