13.06.2018, 10:44
(
Последний раз редактировалось ByMatt20030; 13.06.2018 в 12:11.
)
Hi!, first of all... congrats, this is incredible.
I have error 400 on response of SendEmail...
My code:
I'm on Windows 7, executing sampmail.js with Windows Command Tool (cmd.exe located in NodeJS directory and sending execute with command "node sampmail.js") because node.exe send me this error at executing the file:
Have a nice day!
I have error 400 on response of SendEmail...
My code:
Код:
SendEmail("Mail Test", "***********@hotmail.com", "test title", "does this works? the answer is the same of: did you see the title? -_-| try number #53816 - year -212 BC"); //i send this on ongamemodeinit.
//sampmailjs.inc:
#define SAMPMAILJS_URL "192.168.0.19:7777" // i tried with 127.0.0.1:7777 but same result...
#define SAMPMAILJS_PASSWORD "*******" // i have a question of this password, this is the gmail account password? or which?
//sampmail.js
var localIP = "192.168.0.19";
var port = 7777;
var httpPassword = "********"; // i have a question of this password, this is the gmail account password? or which?
var ******_Account = "mymail@gmail.com";
var ******_ClientID = "**********.apps.******usercontent.com";
var ******_ClientSecret = "***********";
var ******_RefreshToken = "*********";
var detailedDebug = 1;
Код:
node sampmail.js
^^^^^^^^
SyntaxError: Unexpected identifier

