Class Mandrill_Senders
public
|
|
public
array
|
#
getList( )
Return the senders that have tried to use this account. Return the senders that have tried to use this account. Returnsarray an array of sender data, one for each sending addresses used by the account - return[] struct the information on each sending address in the account - address string the sender's email address - created_at string the date and time that the sender was first seen by Mandrill as a UTC date string in YYYY-MM-DD HH:MM:SS format - sent integer the total number of messages sent by this sender - hard_bounces integer the total number of hard bounces by messages by this sender - soft_bounces integer the total number of soft bounces by messages by this sender - rejects integer the total number of rejected messages by this sender - complaints integer the total number of spam complaints received for messages by this sender - unsubs integer the total number of unsubscribe requests received for messages by this sender - opens integer the total number of times messages by this sender have been opened - clicks integer the total number of times tracked URLs in messages by this sender have been clicked - unique_opens integer the number of unique opens for emails sent for this sender - unique_clicks integer the number of unique clicks for emails sent for this sender |
public
array
|
#
domains( )
Returns the sender domains that have been added to this account. Returns the sender domains that have been added to this account. Returnsarray an array of sender domain data, one for each sending domain used by the account - return[] struct the information on each sending domain for the account - domain string the sender domain name - created_at string the date and time that the sending domain was first seen as a UTC string in YYYY-MM-DD HH:MM:SS format - last_tested_at string when the domain's DNS settings were last tested as a UTC string in YYYY-MM-DD HH:MM:SS format - spf struct details about the domain's SPF record - valid boolean whether the domain's SPF record is valid for use with Mandrill - valid_after string when the domain's SPF record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it. - error string an error describing the spf record, or null if the record is correct - dkim struct details about the domain's DKIM record - valid boolean whether the domain's DKIM record is valid for use with Mandrill - valid_after string when the domain's DKIM record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it. - error string an error describing the DKIM record, or null if the record is correct - verified_at string if the domain has been verified, this indicates when that verification occurred as a UTC string in YYYY-MM-DD HH:MM:SS format - valid_signing boolean whether this domain can be used to authenticate mail, either for itself or as a custom signing domain. If this is false but spf and dkim are both valid, you will need to verify the domain before using it to authenticate mail |
public
struct
|
#
addDomain( string $domain )
Adds a sender domain to your account. Sender domains are added automatically as you send, but you can use this call to add them ahead of time. Adds a sender domain to your account. Sender domains are added automatically as you send, but you can use this call to add them ahead of time. Parameters
Returnsstruct information about the domain - domain string the sender domain name - created_at string the date and time that the sending domain was first seen as a UTC string in YYYY-MM-DD HH:MM:SS format - last_tested_at string when the domain's DNS settings were last tested as a UTC string in YYYY-MM-DD HH:MM:SS format - spf struct details about the domain's SPF record - valid boolean whether the domain's SPF record is valid for use with Mandrill - valid_after string when the domain's SPF record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it. - error string an error describing the spf record, or null if the record is correct - dkim struct details about the domain's DKIM record - valid boolean whether the domain's DKIM record is valid for use with Mandrill - valid_after string when the domain's DKIM record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it. - error string an error describing the DKIM record, or null if the record is correct - verified_at string if the domain has been verified, this indicates when that verification occurred as a UTC string in YYYY-MM-DD HH:MM:SS format - valid_signing boolean whether this domain can be used to authenticate mail, either for itself or as a custom signing domain. If this is false but spf and dkim are both valid, you will need to verify the domain before using it to authenticate mail |
public
struct
|
#
checkDomain( string $domain )
Checks the SPF and DKIM settings for a domain. If you haven't already added this domain to your account, it will be added automatically. Checks the SPF and DKIM settings for a domain. If you haven't already added this domain to your account, it will be added automatically. Parameters
Returnsstruct information about the sender domain - domain string the sender domain name - created_at string the date and time that the sending domain was first seen as a UTC string in YYYY-MM-DD HH:MM:SS format - last_tested_at string when the domain's DNS settings were last tested as a UTC string in YYYY-MM-DD HH:MM:SS format - spf struct details about the domain's SPF record - valid boolean whether the domain's SPF record is valid for use with Mandrill - valid_after string when the domain's SPF record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it. - error string an error describing the spf record, or null if the record is correct - dkim struct details about the domain's DKIM record - valid boolean whether the domain's DKIM record is valid for use with Mandrill - valid_after string when the domain's DKIM record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it. - error string an error describing the DKIM record, or null if the record is correct - verified_at string if the domain has been verified, this indicates when that verification occurred as a UTC string in YYYY-MM-DD HH:MM:SS format - valid_signing boolean whether this domain can be used to authenticate mail, either for itself or as a custom signing domain. If this is false but spf and dkim are both valid, you will need to verify the domain before using it to authenticate mail |