count()

Count the number of emails in the outbox.

Syntax

count() int

Returns the number of emails in the outbox.

Description

Count the number of emails in the outbox enqueued for sending.

Examples

No emails in the outbox.

One email in the outbox.

Two emails in the outbox.