SA-MP Forums Archive
[Include] SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS (/showthread.php?tid=654889)

Pages: 1 2


Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - Admireal - 17.06.2018

How can I install?


Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - bruxo00 - 17.06.2018

Quote:
Originally Posted by Admireal
Посмотреть сообщение
How can I install?
There a big link in the post saying Wiki - How to setup and how to use. Click there and follow the instructions.


Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - XEGARE - 28.06.2018

Please help me. Bad UTF-8encode

Text in Russian - Information about you.

In the name of the message received, I see different characters instead of Russian letters.



Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - bruxo00 - 28.06.2018

Quote:
Originally Posted by XEGARE
Посмотреть сообщение
Please help me. Bad UTF-8encode

Text in Russian - Information about you.

In the name of the message received, I see different characters instead of Russian letters.
The problem probably is on the SAMP HTTP function itself, I don't think it can be fixed easily. Someone correct me if I'm wrong.


Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - Marshas - 13.07.2018

I can't run these commands.
Код:
npm install nodemailer --save
npm install http --save
npm install url --save
npm install fs --save
I'm getting same error every time.
Код:
npm should be run outside of the node repl, in your normal shell
SOLVED I guess. I entered it on NodeJS Command Prompt


EDIT: And I'm getting reponse 3 in console.


Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - bruxo00 - 14.07.2018

Response 3 is HTTP_ERROR_CANT_CONNECT. Make sure you have the port you are using opened in your host.


Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - Marshas - 15.07.2018

I'm using localhost. My port is set as in sampmail.js file 8080. I already reinstalled nodejs, but I'm still getting this error.


Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - bruxo00 - 31.07.2018

Hide your private key from the screenshot, it should be PRIVATE. Change the machine IP to your local IP and try to open with the browser and tell me what it appears on the browser and on the console.


Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - TMapping - 08.08.2018

400. That’s an error.

Error: redirect_uri_mismatch

The redirect URI in the request, https://developers.******.com/oauthplayground, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.******.co...ct=66493073134


Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - bruxo00 - 09.08.2018

Quote:
Originally Posted by TMapping
Посмотреть сообщение
400. That’s an error.

Error: redirect_uri_mismatch

The redirect URI in the request, https://developers.******.com/oauthplayground, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.******.co...ct=66493073134
You didn't setup the GMAIL API right.


Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS - Koplan - 09.08.2018

Very good.

+REP