Get contact status by email

The GetContactStatusByEmail method returns the current status (subscribed, deleted and so on - see below for a full list) of a contact.

Guidance Notes

Parameters

username string This is the username from your API key. It is in the format of an email address and will look similar to apiuser‑908709770324@apiconnector.com required
password string This is the password from your API key. required
email string The email address of the contact whose status you wish to retrieve required

Return values

result Subscribed, UnSubscribed, SoftBounced, HardBounced, ISPComplained, MailBlocked, PendingOptIn, DirectComplaint, SpamTrap, Deleted, SharedSuppression, DomainSuppression, NoMXRecord, NotAllowed or Other

Error responses

  • ERROR_APIUSAGE_EXCEEDED
  • ERROR_INVALID_EMAIL
  • ERROR_INVALID_LOGIN
  • ERROR_SYSTEM_SERVICETEMPORARILYUNAVAILABLE
  • ERROR_UNKNOWN

Request

Example of use in C# .NET

Sample request

Sample response

Get started with dotMailer:

Small & Medium businesses Large businesses
Call the team on 0845 337 9170
What our clients say:

“dotMailer has changed our complete marketing process for the better. It's one of the easiest apps I have used and allows us to do things we have only dreamed of before."

Amberley Shermon, Cazenove+Loyd