Created
November 11, 2015 08:42
-
-
Save EsendexDev/9f6a8e1e4d0c9652fde4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client := esendex.New("username", "password") | |
response, _ := client.Sent() | |
for _, message := range response.Messages { | |
body, _ := client.Body(message) | |
fmt.Printf("MessageID: %s\nMessage: %s\n\n", message.ID, body.Text) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment