All URIs are relative to https://api.mailslurp.com
Method | HTTP request | Description |
---|---|---|
CreateNewEmailAddress | Post /createInbox | Create new random inbox |
CreateNewEmailAddress1 | Post /newEmailAddress | Create new random inbox |
EmptyInbox | Delete /emptyInbox | Delete all emails in an inbox |
SendEmailSimple | Post /sendEmail | Send an email |
Inbox CreateNewEmailAddress(ctx, )
Create new random inbox
Returns an Inbox with an id
and an emailAddress
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Inbox CreateNewEmailAddress1(ctx, )
Create new random inbox
Returns an Inbox with an id
and an emailAddress
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmptyInbox(ctx, inboxId)
Delete all emails in an inbox
Deletes all emails
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
inboxId | string | inboxId |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SendEmailSimple(ctx, emailOptions)
Send an email
If no senderId or inboxId provided a random email address will be used to send from.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
emailOptions | SimpleSendEmailOptions | emailOptions |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]