SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 15/07/2018, 02:57 PM   #31
Gforcez
Gangsta
 
Gforcez's Avatar
 
Join Date: Jul 2010
Location: The Netherlands.
Posts: 746
Reputation: 418
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

Only for gmail? Maybe let people set their own SMTP Server, so they can use their own domain to send e-mails from. (that without rebuilding half of the include, just configuration based)
__________________

Gforcez is offline   Reply With Quote
Old 15/07/2018, 10:48 PM   #32
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 Marshas View Post
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.
Which operating system are you using? Can you test with some other 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 online now   Reply With Quote
Old 15/07/2018, 10:51 PM   #33
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 Gforcez1337 View Post
Only for gmail? Maybe let people set their own SMTP Server, so they can use their own domain to send e-mails from. (that without rebuilding half of the include, just configuration based)
I used gmail because all the other includes that I see around SAMP are using some PHP libraries that that will send an email that probably will end in the SPAM box. Using the GMAIL api you don't need to worry because the email will go to the inbox 100% of the times.

You can setup your SMTP server too, but you probably will have the same problem as you would if you were using some PHP library.

But yes, I'm planning to make some updates to the include, and adding your own SMTP server support will be included.
__________________
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 online now   Reply With Quote
Old 16/07/2018, 02:25 AM   #34
Marshas
Little Clucker
 
Join Date: Apr 2017
Posts: 37
Reputation: 0
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

Quote:
Originally Posted by bruxo00 View Post
Which operating system are you using? Can you test with some other host?
Windows 7 Ultimate. I think I can figure something out with other host. I will tell you does it worked .
Marshas is offline   Reply With Quote
Old 29/07/2018, 04:02 AM   #35
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

New update is out. Multiple bugs fixed, code optimized, now supports other SMTP servers and config files.
__________________
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 online now   Reply With Quote
Old 29/07/2018, 02:12 PM   #36
Marshas
Little Clucker
 
Join Date: Apr 2017
Posts: 37
Reputation: 0
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

Quote:
Originally Posted by bruxo00 View Post
New update is out. Multiple bugs fixed, code optimized, now supports other SMTP servers and config files.
I can't even upload my sampmailjs.inc to filezilla... Can you help me?

Lines from filezilla, when starting uploading sampmailjs.inc:

Code:
Command:	CWD /pawno/include
Response:	250 CWD command successful
Command:	TYPE A
Response:	200 Type set to A
Command:	PASV
Response:	227 Entering Passive Mode (51,68,1,128,254,33).
Command:	STOR sampmailjs.inc
Response:	550 sampmailjs.inc: Forbidden command argument
Error:	Critical file transfer error
Marshas is offline   Reply With Quote
Old 29/07/2018, 03:38 PM   #37
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 Marshas View Post
I can't even upload my sampmailjs.inc to filezilla... Can you help me?

Lines from filezilla, when starting uploading sampmailjs.inc:

Code:
Command:	CWD /pawno/include
Response:	250 CWD command successful
Command:	TYPE A
Response:	200 Type set to A
Command:	PASV
Response:	227 Entering Passive Mode (51,68,1,128,254,33).
Command:	STOR sampmailjs.inc
Response:	550 sampmailjs.inc: Forbidden command argument
Error:	Critical file transfer error
What do you mean? You can upload every file but not sampmailjs.inc? That's a problem with filezilla or your FTP configuration, I cannot help you with that... But why do you need to upload the include to your server? You only need it to compile your code, not to run the server.
__________________
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 online now   Reply With Quote
Old 29/07/2018, 06:44 PM   #38
Marshas
Little Clucker
 
Join Date: Apr 2017
Posts: 37
Reputation: 0
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

Quote:
Originally Posted by bruxo00 View Post
What do you mean? You can upload every file but not sampmailjs.inc? That's a problem with filezilla or your FTP configuration, I cannot help you with that... But why do you need to upload the include to your server? You only need it to compile your code, not to run the server.
Right... I needed to compile once, that's all... And I got a new problem. Check my few previous comments. I wrote about response in console. You said, that I should try to run server on another host. I did it and I'm still getting message: [SAMPMAILJS] Server returned a response 3. And yeah, I installed latest version of SAMPMAILJS.
Marshas is offline   Reply With Quote
Old 29/07/2018, 08:08 PM   #39
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

What happens if you try open the NodeJS script from your browser? I mean, open the URL in SAMPMAILJS_URL in your browser.
__________________
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 online now   Reply With Quote
Old 29/07/2018, 08:58 PM   #40
Marshas
Little Clucker
 
Join Date: Apr 2017
Posts: 37
Reputation: 0
Default Re: SAMPMailJS | Send Emails Easily | HTML |Templates | NodeJS

Quote:
Originally Posted by bruxo00 View Post
What happens if you try open the NodeJS script from your browser? I mean, open the URL in SAMPMAILJS_URL in your browser.
It links to ftp server login, and then I log on, It shows me files in my ftp.
http://prntscr.com/kchuf0

And I saw, that I can't insert sampmail.js script to my filezilla server too.
Code:
Command:	CWD /
Response:	250 CWD command successful
Command:	PWD
Response:	257 "/" is the current directory
Command:	TYPE A
Response:	200 Type set to A
Command:	PASV
Response:	227 Entering Passive Mode (51,68,1,128,251,113).
Command:	STOR sampmail.js
Response:	550 sampmail.js: Forbidden command argument
Error:	Critical file transfer error
Status:	Disconnected from server
I will search about this error online.
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 01:12 AM.


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