public enum StatsEventType extends Enum<StatsEventType>
Mailgun tracks all of the events that occur throughout the system.
| Enum Constant and Description |
|---|
ACCEPTED
Mailgun accepted the request to send/forward the email and the message has been placed in queue.
|
CLICKED
The email recipient clicked on a link in the email.
|
COMPLAINED
The email recipient clicked on the spam complaint button within their email client.
|
DELIVERED
Mailgun sent the email and it was accepted by the recipient email server.
|
FAILED
Mailgun could not deliver the email to the recipient email server.
|
OPENED
The email recipient opened the email and enabled image viewing.
|
STORED
Mailgun has stored an incoming message
|
UNSUBSCRIBED
The email recipient clicked on the unsubscribe link.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static StatsEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatsEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatsEventType ACCEPTED
Mailgun accepted the request to send/forward the email and the message has been placed in queue.
public static final StatsEventType DELIVERED
Mailgun sent the email and it was accepted by the recipient email server.
public static final StatsEventType FAILED
Mailgun could not deliver the email to the recipient email server.
public static final StatsEventType OPENED
The email recipient opened the email and enabled image viewing. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org.
public static final StatsEventType CLICKED
The email recipient clicked on a link in the email. Click tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org.
public static final StatsEventType UNSUBSCRIBED
The email recipient clicked on the unsubscribe link. Unsubscribe tracking must be enabled in the Mailgun control panel.
public static final StatsEventType COMPLAINED
The email recipient clicked on the spam complaint button within their email client. Feedback loops enable the notification to be received by Mailgun.
public static final StatsEventType STORED
Mailgun has stored an incoming message
public static StatsEventType[] values()
for (StatsEventType c : StatsEventType.values()) System.out.println(c);
public static StatsEventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2022. All rights reserved.