# \CommonActionsControllerApi

All URIs are relative to https://api.mailslurp.com

Method HTTP request Description
create_new_email_address Post /createInbox Create new random inbox
create_new_email_address1 Post /newEmailAddress Create new random inbox
empty_inbox Delete /emptyInbox Delete all emails in an inbox
send_email_simple Post /sendEmail Send an email

# create_new_email_address

crate::models::Inbox create_new_email_address() Create new random inbox

Returns an Inbox with an id and an emailAddress

# Parameters

This endpoint does not need any parameter.

# Return type

crate::models::Inbox

# Authorization

API_KEY

# HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

# create_new_email_address1

crate::models::Inbox create_new_email_address1() Create new random inbox

Returns an Inbox with an id and an emailAddress

# Parameters

This endpoint does not need any parameter.

# Return type

crate::models::Inbox

# Authorization

API_KEY

# HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

# empty_inbox

empty_inbox(inbox_id) Delete all emails in an inbox

Deletes all emails

# Parameters

Name Type Description Required Notes
inbox_id String inboxId [required]

# Return type

(empty response body)

# Authorization

API_KEY

# HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

# send_email_simple

send_email_simple(email_options) Send an email

If no senderId or inboxId provided a random email address will be used to send from.

# Parameters

Name Type Description Required Notes
email_options SimpleSendEmailOptions emailOptions [required]

# Return type

(empty response body)

# Authorization

API_KEY

# HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]