Email API for Go · YourTrend
YourTrend
API de correo electrónico y SMTP Campañas Automatizaciones SMS Web push Mensajeros Bandeja de entrada unificada Correo seguro Analítica
ENUKRUDEESFRITPLPTHIZH
Iniciar sesión Comenzar gratis
SDK · Go

YourTrend SDK for Go

The Go SDK is a single dependency-free file. Download it, include it, and send email, SMS and push via the YourTrend REST API.

Instalar

shell
curl -O https://yourtrend.online/sdk/yourtrend.go

Enviar un correo electrónico

go
package main

import "yourtrend"

func main() {
    c := yourtrend.New("YOUR_API_KEY")
    c.SendEmail(
        "noreply@yourdomain.com",
        "user@example.com",
        "Hello from YourTrend",
        "<h1>Hi!</h1>",
    )
}

Methods: sendEmail, sendSms, push (web push) and validateEmail. Each returns the HTTP status and the response body.

FAQ

Any external dependencies?

No. The Go SDK is a single standard-library file, no package manager required.

Where do I get an API key?

In the dashboard → API keys. Issue a key with only the scopes it needs.

Comienza a enviar en minutos

Gratis para empezar. Escala cuando crezcas. Tus clientes reciben cada mensaje.

Esta página fue encontrada buscando por

Consultas de búsqueda reales que traen personas aquí — las resaltadas abren la página correspondiente.