- Nakama
- Getting Started+-
- Concepts+-
- Server Framework+-
- Client Libraries+-
- API+-
- Tutorials+-
- Guides+-
- Overview
- Concepts+-
- Overview
- Edgegap Integration
- GameLift Fleet Management
- Bucketed Leaderboards
- Custom Authentication with Third-Party Services
- Custom Leaderboards
- Creating an Economy
- Daily Rewards
- Initialize a New User
- Matchmaking Around Blocked Users
- Passive Multiplayer
- Tiered Leagues
- Creating a Lobby System
- Unread Chat Messages
- Server Framework+-
- Deployment+-
- Videos
- Sample Projects
- Hiro
- Concepts+-
- Unity+-
- Unreal+-
- C+++-
- Dart+-
- TypeScript+-
- Godot+-
- Python+-
- Server Framework+-
- Guides+-
- Sample Projects
- Satori
- Heroic Cloud
Sending Email Using SendGrid
A common requirement is to be able to send email notifications to players. This can be achieved by integrating with a third-party email provider such as SendGrid.
The example snippet demonstrates how to use the nk.httpRequest function to call SendGrid’s HTTP API from from your game server. While this example focuses specifically on integrating with SendGrid, the same principle can be applied to any third-party service that provides an HTTP API.
For full SendGrid documentation on sending mail via the HTTP API see the official documentation.
Server
| |
Server
| |
Code snippet for this language Lua has not been found. Please choose another language to show equivalent examples.
