SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 16/06/2018, 11:18 AM   #21
bruxo00
High-roller
 
bruxo00's Avatar
 
Join Date: Oct 2012
Location: Portugal
Posts: 1,118
Reputation: 152
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

Quote:
Originally Posted by Verc View Post
it still doesn't work,do I have to move my sampmail.js file? It's currently at /root/
Why doesn't it work? The script doesn't start? If you try to reach it trough your browser, does it work? Note that you need to have the port you use opened in order to work.


Quote:
Originally Posted by cuber View Post
This is a very useful include. Also, edit "trough" to "through".
Oh, thanks
__________________
RELEASES

[INC] SAMPMailJS
[FS] doxIT!
[GM] Paradise City Roleplay
[TOOL] bAnticheat
[TOOL] Logs Checker
[TUTORIAL] Email confirmation system

www.mp3it.cc · www.diogomartino.com
bruxo00 is offline   Reply With Quote
Old 16/06/2018, 04:20 PM   #22
Verc
Banned
 
Join Date: Apr 2018
Location: 🇯🇵
Posts: 172
Reputation: 42
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

Yes,my browser says incorrect request and the console says:
PHP Code:
root@localhost:~# node sampmail.js
Server running on http://172.xxx.xx.xx:8080/
Client (114.4.xxx.xxxrequested /
[
114.4.xxx.xxx] -> 404Action inexistente
Client 
(114.4.xxx.xxxrequested /favicon.ico
[114.4.xxx.xxx] -> 404Action inexistente
Client 
(114.4.xxx.xxx requested /favicon.ico
[114.4.xxx.xxx] -> 404Action inexistente
Client 
(114.4.xxx.xxxrequested /sampmail.js
[114.4.xxx.xxx] -> 404Action inexistente 
EDIT:It worked! Thank you!
Verc is offline   Reply With Quote
Old 17/06/2018, 12:14 AM   #23
bruxo00
High-roller
 
bruxo00's Avatar
 
Join Date: Oct 2012
Location: Portugal
Posts: 1,118
Reputation: 152
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

Quote:
Originally Posted by Verc View Post
Yes,my browser says incorrect request and the console says:
PHP Code:
root@localhost:~# node sampmail.js
Server running on http://172.xxx.xx.xx:8080/
Client (114.4.xxx.xxxrequested /
[
114.4.xxx.xxx] -> 404Action inexistente
Client 
(114.4.xxx.xxxrequested /favicon.ico
[114.4.xxx.xxx] -> 404Action inexistente
Client 
(114.4.xxx.xxx requested /favicon.ico
[114.4.xxx.xxx] -> 404Action inexistente
Client 
(114.4.xxx.xxxrequested /sampmail.js
[114.4.xxx.xxx] -> 404Action inexistente 
EDIT:It worked! Thank you!
Nice
__________________
RELEASES

[INC] SAMPMailJS
[FS] doxIT!
[GM] Paradise City Roleplay
[TOOL] bAnticheat
[TOOL] Logs Checker
[TUTORIAL] Email confirmation system

www.mp3it.cc · www.diogomartino.com
bruxo00 is offline   Reply With Quote
Old 17/06/2018, 11:58 AM   #24
Admireal
Big Clucker
 
Join Date: Sep 2016
Posts: 102
Reputation: 5
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

How can I install?
Admireal is offline   Reply With Quote
Old 17/06/2018, 01:23 PM   #25
bruxo00
High-roller
 
bruxo00's Avatar
 
Join Date: Oct 2012
Location: Portugal
Posts: 1,118
Reputation: 152
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

Quote:
Originally Posted by Admireal View Post
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.
__________________
RELEASES

[INC] SAMPMailJS
[FS] doxIT!
[GM] Paradise City Roleplay
[TOOL] bAnticheat
[TOOL] Logs Checker
[TUTORIAL] Email confirmation system

www.mp3it.cc · www.diogomartino.com
bruxo00 is offline   Reply With Quote
Old 28/06/2018, 06:00 PM   #26
XEGARE
Little Clucker
 
XEGARE's Avatar
 
Join Date: Oct 2017
Posts: 1
Reputation: 0
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

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.
XEGARE is offline   Reply With Quote
Old 29/06/2018, 12:55 AM   #27
bruxo00
High-roller
 
bruxo00's Avatar
 
Join Date: Oct 2012
Location: Portugal
Posts: 1,118
Reputation: 152
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

Quote:
Originally Posted by XEGARE View Post
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.
__________________
RELEASES

[INC] SAMPMailJS
[FS] doxIT!
[GM] Paradise City Roleplay
[TOOL] bAnticheat
[TOOL] Logs Checker
[TUTORIAL] Email confirmation system

www.mp3it.cc · www.diogomartino.com
bruxo00 is offline   Reply With Quote
Old 13/07/2018, 09:28 AM   #28
Marshas
Little Clucker
 
Join Date: Apr 2017
Posts: 37
Reputation: 0
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

I can't run these commands.
Code:
npm install nodemailer --save
npm install http --save
npm install url --save
npm install fs --save
I'm getting same error every time.
Code:
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.
Marshas is offline   Reply With Quote
Old 14/07/2018, 05:07 PM   #29
bruxo00
High-roller
 
bruxo00's Avatar
 
Join Date: Oct 2012
Location: Portugal
Posts: 1,118
Reputation: 152
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

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

[INC] SAMPMailJS
[FS] doxIT!
[GM] Paradise City Roleplay
[TOOL] bAnticheat
[TOOL] Logs Checker
[TUTORIAL] Email confirmation system

www.mp3it.cc · www.diogomartino.com
bruxo00 is offline   Reply With Quote
Old 15/07/2018, 10:09 AM   #30
Marshas
Little Clucker
 
Join Date: Apr 2017
Posts: 37
Reputation: 0
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

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.
Marshas is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] SAMPMailJS [NodeJS] bruxo00 Lançamentos/Releases 62 13/10/2019 12:11 AM
Using HTTP to send emails Jochemd Help Archive 3 19/02/2011 12:28 PM
can someone list some GTA HTML templates!?!?! SanMarinoRP Everything and Nothing 4 04/09/2009 10:57 PM


All times are GMT. The time now is 03:27 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.