Vice City: Multiplayer

Server Development => Scripting and Server Management => Script Showroom => Topic started by: AroliS^ on Apr 13, 2021, 02:03 AM

Title: [Release] Mailer Lite
Post by: AroliS^ on Apr 13, 2021, 02:03 AM
Mailer by AroliS^



- What it is? Mailer is a VC-MP Library that allows you to send emails from your server with ease. Whether you want to communicate with your users or just notify yourself when something has gone wrong, one of the options for doing so is through mail



- How to use it?
1. download the file here (https://mega.nz/file/KxtWHTKR#GIkBYTsCSwgBp5Gjo1LCLn3XGFmQeURhFJFUFK3JpHM/)
2. need to create an account -> here (https://app.smtp2go.com/)
3. need to place this on onScriptLoad
-- Loading the file
dofile( "scripts/mailer.addon" );

-- Creating the connection
mailer.Create ("mail.smtp2go.com", "Email Address given by website", "Password given by website")2. need to place this on onPlayerCommand and fill up the needs boxes
if (cmd=="sendemail") {
     mailer.Say ( "Email address given by website", "Sender Nick", "Receiver Email address", "Receiver Nick", "subject", @"
           body html & text
    ");
}



photos
1.
(https://i.imgur.com/pn9OBby.png)

2.
(https://i.imgur.com/VplZJmm.png)


plugin needed is: https://github.com/VCMP-SqMod/VCMP-Hash/releases
any suggestions or ideas are welcomes.
Support: AroliS^#4661

Happy coding <3
Title: Re: [Release] Mailer Lite
Post by: SexAppeal on Apr 17, 2021, 01:34 AM
Excellent contribution friend, you can give a lot of use to this!
Title: Re: [Release] Mailer Lite
Post by: Sebastian on Apr 17, 2021, 09:51 AM
Nice!