Sha256: 7119e5203de73e1153b7a0f6d36a3f769204d23eb37731e77a46a77aaef89e0a

Contents?: true

Size: 1.94 KB

Versions: 28

Compression:

Stored size: 1.94 KB

Contents

# EmailLog

## Example EmailLog Object

```
{
  "timestamp": "2000-01-01T01:00:00Z",
  "message": "example",
  "status": "example",
  "subject": "example",
  "to": "example",
  "cc": "example",
  "delivery_method": "example",
  "smtp_hostname": "example",
  "smtp_ip": "example"
}
```

* `timestamp` (date-time): Start Time of Action
* `message` (string): Log Message
* `status` (string): Status of E-Mail delivery
* `subject` (string): Subject line of E-Mail
* `to` (string): To field of E-Mail
* `cc` (string): CC field of E-Mail
* `delivery_method` (string): How was email deliered?  `customer_smtp` or `files.com`
* `smtp_hostname` (string): Customer SMTP Hostname used.
* `smtp_ip` (string): Customer SMTP IP address as resolved for use (useful for troubleshooting DNS issues with customer SMTP).


---

## List Email Logs

```
Files::EmailLog.list(
  per_page: 1
)
```

### Parameters

* `cursor` (string): Used for pagination.  When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`.  Send one of those cursor value here to resume an existing list from the next available record.  Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
* `per_page` (int64): Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date` or `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ status ]`, `[ start_date, end_date ]`, `[ start_date, status ]` or `[ end_date, status ]`.
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ status ]`, `[ start_date, end_date ]`, `[ start_date, status ]` or `[ end_date, status ]`.

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
files.com-1.1.93 docs/email_log.md
files.com-1.1.92 docs/email_log.md
files.com-1.1.91 docs/email_log.md
files.com-1.1.90 docs/email_log.md
files.com-1.1.89 docs/email_log.md
files.com-1.1.88 docs/email_log.md
files.com-1.1.87 docs/email_log.md
files.com-1.1.66 docs/email_log.md
files.com-1.1.65 docs/email_log.md
files.com-1.1.64 docs/email_log.md
files.com-1.1.63 docs/email_log.md
files.com-1.1.62 docs/email_log.md
files.com-1.1.61 docs/email_log.md
files.com-1.1.60 docs/email_log.md
files.com-1.1.59 docs/email_log.md
files.com-1.1.58 docs/email_log.md
files.com-1.1.57 docs/email_log.md
files.com-1.1.56 docs/email_log.md
files.com-1.1.55 docs/email_log.md
files.com-1.1.54 docs/email_log.md