[Include] SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS
#7

Quote:
Originally Posted by bruxo00
Посмотреть сообщение
SAMPMAILJS_PASSWORD - this password must be the same password as httpPassword in the sampmail.js. This is to prevent external users to use the script without your consent, it has nothing to do with your gmail password.

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.
Thanks for answering!

At first i try with 8.11.3, then i see you make this work on a newer version so i tried with 10.4.1... but still the same problem.
Error code on console at sending email:
Код:
F:\Users\Administrator\Desktop\SA:MP Server\v0.2.3 w/advanced login portal>node sampmail.js
Server running on http://192.168.0.19:7777/nl686063a020a1d...0738Client (192.168.0.19) requested /sampmail.js?pw=mypassword&action=sendm
================ SENDING EMAIL ================
De: Mail Test
To: myemail@hotmail.com
Subject: test
Text: this works, but doesn't finish the email sending
===============================================
[192.168.0.19] -> 400: Error
samp-server.exe error code:
Код:
[SAMPMAILJS] Server returned a response 400
If necesary to post, i use this includes on that code:
Код:
#include <a_samp>
#undef MAX_PLAYERS
#define MAX_PLAYERS 100
#include <crashdetect>
#include <sampmailjs>
#include <YSI_Storage\y_ini>
#include <YSI_Data\y_iterate>
#include <YSI_Coding\y_timers>
#include <YSI_Core\y_utils>
#include <YSI_Server\y_flooding>
#include <djson> //later i'll replace this with y_ini... i'm so lazy don't judge me :P
#include <GM_Hooks> //some personal hooks, not more than 3 or 4 simple functions.
#include <yom_buttons>
#include <samp-dl-compat>
#include <Miles> // Some hooks.
#include <fixes>
#include <sscanf2>
#include <streamer>
#include <Pawn.CMD>
#include <NewMenus> //mselection w/ big interface changes
#include <mSelection>   
#include <progressbar>
#include <faderscreen>
#include <AntiCheat>
#define FOREACH_NO_BOTS
#define FOREACH_NO_ACTORS
#pragma option -d3
And Zeex's Pawn Compiler.

Greetings!
Reply


Messages In This Thread
SAMPMailJS | Send Emails Easily | HTML | Templates | NodeJS - by bruxo00 - 08.06.2018, 14:24
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by zerruv - 08.06.2018, 15:02
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by Verc - 10.06.2018, 10:42
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by ByMatt20030 - 13.06.2018, 10:44
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 13.06.2018, 12:28
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 13.06.2018, 12:36
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by ByMatt20030 - 13.06.2018, 13:27
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by ByMatt20030 - 13.06.2018, 16:17
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 13.06.2018, 19:23
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by ByMatt20030 - 13.06.2018, 19:33
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 13.06.2018, 19:39
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by Verc - 14.06.2018, 16:48
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 14.06.2018, 18:00
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by Verc - 15.06.2018, 10:55
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 15.06.2018, 11:53
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by Verc - 16.06.2018, 07:56
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by cuber - 16.06.2018, 08:24
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 16.06.2018, 10:18
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by Verc - 16.06.2018, 15:20
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 16.06.2018, 23:14
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by Admireal - 17.06.2018, 10:58
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 17.06.2018, 12:23
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by XEGARE - 28.06.2018, 17:00
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 28.06.2018, 23:55
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by Marshas - 13.07.2018, 08:28
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 14.07.2018, 16:07
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by Marshas - 15.07.2018, 09:09
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 31.07.2018, 15:19
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by TMapping - 08.08.2018, 08:49
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by bruxo00 - 09.08.2018, 11:33
Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - by Koplan - 09.08.2018, 11:54

Forum Jump:


Users browsing this thread: 1 Guest(s)