You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# - [Hash] return[] the information for each rejection blacklist entry
449
449
# - [String] email the email that is blocked
450
-
# - [String] reason the type of event (hard-bounce, soft-bounce, spam, unsub) that caused this rejection
450
+
# - [String] reason the type of event (hard-bounce, soft-bounce, spam, unsub, custom) that caused this rejection
451
451
# - [String] detail extended details about the event, such as the SMTP diagnostic for bounces or the comment for manually-created rejections
452
452
# - [String] created_at when the email was added to the blacklist
453
453
# - [String] last_event_at the timestamp of the most recent event that either created or renewed this rejection
@@ -831,11 +831,11 @@ def initialize(master)
831
831
# @param [Boolean] async enable a background sending mode that is optimized for bulk sending. In async mode, messages/send will immediately return a status of "queued" for every recipient. To handle rejections when sending in async mode, set up a webhook for the 'reject' event. Defaults to false for messages with no more than 10 recipients; messages with more than 10 recipients are always sent asynchronously, regardless of the value of async.
832
832
# @param [String] ip_pool the name of the dedicated ip pool that should be used to send the message. If you do not have any dedicated IPs, this parameter has no effect. If you specify a pool that does not exist, your default pool will be used instead.
833
833
# @param [String] send_at when this message should be sent as a UTC timestamp in YYYY-MM-DD HH:MM:SS format. If you specify a time in the past, the message will be sent immediately. An additional fee applies for scheduled email, and this feature is only available to accounts with a positive balance.
834
-
# @return [Array] of structs for each recipient containing the key "email" with the email address and "status" as either "sent", "queued", or "rejected"
834
+
# @return [Array] of structs for each recipient containing the key "email" with the email address, and details of the message status for that recipient
835
835
# - [Hash] return[] the sending results for a single recipient
836
836
# - [String] email the email address of the recipient
837
837
# - [String] status the sending status of the recipient - either "sent", "queued", "scheduled", "rejected", or "invalid"
838
-
# - [String] reject_reason the reason for the rejection if the recipient status is "rejected"
838
+
# - [String] reject_reason the reason for the rejection if the recipient status is "rejected" - one of "hard-bounce", "soft-bounce", "spam", "unsub", "custom", "invalid-sender", "invalid", "test-mode-limit", or "rule"
# @param [Boolean] async enable a background sending mode that is optimized for bulk sending. In async mode, messages/send will immediately return a status of "queued" for every recipient. To handle rejections when sending in async mode, set up a webhook for the 'reject' event. Defaults to false for messages with no more than 10 recipients; messages with more than 10 recipients are always sent asynchronously, regardless of the value of async.
909
909
# @param [String] ip_pool the name of the dedicated ip pool that should be used to send the message. If you do not have any dedicated IPs, this parameter has no effect. If you specify a pool that does not exist, your default pool will be used instead.
910
910
# @param [String] send_at when this message should be sent as a UTC timestamp in YYYY-MM-DD HH:MM:SS format. If you specify a time in the past, the message will be sent immediately. An additional fee applies for scheduled email, and this feature is only available to accounts with a positive balance.
911
-
# @return [Array] of structs for each recipient containing the key "email" with the email address and "status" as either "sent", "queued", "scheduled", or "rejected"
911
+
# @return [Array] of structs for each recipient containing the key "email" with the email address, and details of the message status for that recipient
912
912
# - [Hash] return[] the sending results for a single recipient
913
913
# - [String] email the email address of the recipient
914
914
# - [String] status the sending status of the recipient - either "sent", "queued", "rejected", or "invalid"
915
-
# - [String] reject_reason the reason for the rejection if the recipient status is "rejected"
915
+
# - [String] reject_reason the reason for the rejection if the recipient status is "rejected" - one of "hard-bounce", "soft-bounce", "spam", "unsub", "custom", "invalid-sender", "invalid", "test-mode-limit", or "rule"
# Search the content of recently sent messages and optionally narrow by date range, tagsand senders
923
-
# @param [String] query the search terms to find matching messages for
922
+
# Search recently sent messages and optionally narrow by date range, tags, senders, and API keys. If no date range is specified, results within the last 7 days are returned. This method may be called up to 20 times per minute. If you need the data more often, you can use <a href="/api/docs/messages.html#method=info">/messages/info.json</a> to get the information for a single message, or <a href="http://help.mandrill.com/entries/21738186-Introduction-to-Webhooks">webhooks</a> to push activity to your own application for querying.
# @param [Array] tags an array of tag names to narrow the search to, will return messages that contain ANY of the tags
@@ -1091,11 +1091,11 @@ def parse(raw_message)
1091
1091
# @param [String] ip_pool the name of the dedicated ip pool that should be used to send the message. If you do not have any dedicated IPs, this parameter has no effect. If you specify a pool that does not exist, your default pool will be used instead.
1092
1092
# @param [String] send_at when this message should be sent as a UTC timestamp in YYYY-MM-DD HH:MM:SS format. If you specify a time in the past, the message will be sent immediately.
1093
1093
# @param [String] return_path_domain a custom domain to use for the messages's return-path
1094
-
# @return [Array] of structs for each recipient containing the key "email" with the email address and "status" as either "sent", "queued", or "rejected"
1094
+
# @return [Array] of structs for each recipient containing the key "email" with the email address, and details of the message status for that recipient
1095
1095
# - [Hash] return[] the sending results for a single recipient
1096
1096
# - [String] email the email address of the recipient
1097
1097
# - [String] status the sending status of the recipient - either "sent", "queued", "scheduled", "rejected", or "invalid"
1098
-
# - [String] reject_reason the reason for the rejection if the recipient status is "rejected"
1098
+
# - [String] reject_reason the reason for the rejection if the recipient status is "rejected" - one of "hard-bounce", "soft-bounce", "spam", "unsub", "custom", "invalid-sender", "invalid", "test-mode-limit", or "rule"
0 commit comments