This library was heavily inspired by SAMPMailJS and initiated because I'm learning Go, make this library run as simple as configure .env
file, and run it!
Any feedbacks and pull requests are welcome! I really appreciate it.
Simply install to your project:
sampctl package install rsetiawan7/samp-mail-go
Include in your code and begin using the library:
#include <samp-mail-go>
Install dependencies
go mod tidy
Build your mail server
go build
Run it
./samp-mail-go
In your SA-MP code, use it
#include <samp-mail-go>
// Send e-mail
SendEmail("Your Server", "your-email@example.com", "Hello", "You should receive this e-mail")
- CI / CD for Releases build (Windows & Linux)
- Unit test