13.06.2018, 12:36
Quote:
|
Hi!, first of all... congrats, this is incredible.
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
![]() |
Wich version of NodeJS do you have? Please send the email and tell me what error appears on the NodeJS console. I didn't tested the script on windows, but in theory it should work the same way it works on Linux.



