check_email: Check for new email on the server

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Returns a list of the newest messages. The maximum size of the list is 20 items.

Usage

1
check_email(sid_token, seq)

Arguments

sid_token

character, session ID token returned from get_email_address.

seq

integer, the sequence number (id) of the oldest email.

Details

The client should not check email too many times as to not overload the server. Do not check if the email expired, the email checking routing should pause if the email expired.

Value

A list, representing the API response.

Author(s)

Philipp Ottolinger

See Also

https://www.guerrillamail.com/GuerrillaMailAPI.html

Examples

1
2
3
4
5
6
7
## Not run: 
library(guerrillamail)
address <- get_email_address()
mail <- check_email(sid_token = address$sid_token, seq = 0)
mail

## End(Not run)

ottlngr/guerrillamail documentation built on May 23, 2019, 5:07 p.m.