A Golang API client for ImprovMX, my email forwarding service of choice.
package main
import (
"os"
improvmx "github.com/issyl0/go-improvmx"
)
func main() {
client := improvmx.NewClient(os.Getenv("IMPROVMX_API_TOKEN"))
client.CreateDomain("example.com")
client.CreateEmailForward("example.com", "hi", "[email protected]")
client.UpdateEmailForward("example.com", "hi", "[email protected],[email protected]")
client.DeleteEmailForward("example.com", "hi")
client.DeleteDomain("example.com")
}
- Tests.