Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 770 Bytes

Read Mail

To read a plain text email message you use the text endpoint. This endpoint can be accessed by GET /api/text/:email/:messageId. You will substitute in the email address the email was sent to and the message ID for that email. Using the values from the previous section will yield, GET /api/text/user1%40mailsac.com:BotvTxaona7gLID1Adtpfj8Fnfi7HSSv-0. The email message can be retrieved using curl.

.. literalinclude:: text_message
    :language: text
    :caption: **Plain text message**