-
Notifications
You must be signed in to change notification settings - Fork 0
Mandrill_Inbound
Mathieu Nayrolles edited this page Jan 20, 2016
·
1 revision
- Class name: Mandrill_Inbound
- Namespace:
mixed Mandrill_Inbound::__construct(\Mandrill $master)
- Visibility: public
- $master Mandrill
array Mandrill_Inbound::domains()
List the domains that have been configured for inbound delivery
- Visibility: public
\struct Mandrill_Inbound::addDomain(string $domain)
Add an inbound domain to your account
- Visibility: public
- $domain string - <p>a domain name</p>
\struct Mandrill_Inbound::checkDomain(string $domain)
Check the MX settings for an inbound domain. The domain must have already been added with the add-domain call
- Visibility: public
- $domain string - <p>an existing inbound domain</p>
\struct Mandrill_Inbound::deleteDomain(string $domain)
Delete an inbound domain from the account. All mail will stop routing for this domain immediately.
- Visibility: public
- $domain string - <p>an existing inbound domain</p>
array Mandrill_Inbound::routes(string $domain)
List the mailbox routes defined for an inbound domain
- Visibility: public
- $domain string - <p>the domain to check</p>
\struct Mandrill_Inbound::addRoute(string $domain, string $pattern, string $url)
Add a new mailbox route to an inbound domain
- Visibility: public
- $domain string - <p>an existing inbound domain</p>
- $pattern string - <p>the search pattern that the mailbox name should match</p>
- $url string - <p>the webhook URL where the inbound messages will be published</p>
\struct Mandrill_Inbound::updateRoute(string $id, string $pattern, string $url)
Update the pattern or webhook of an existing inbound mailbox route. If null is provided for any fields, the values will remain unchanged.
- Visibility: public
- $id string - <p>the unique identifier of an existing mailbox route</p>
- $pattern string - <p>the search pattern that the mailbox name should match</p>
- $url string - <p>the webhook URL where the inbound messages will be published</p>
\struct Mandrill_Inbound::deleteRoute(string $id)
Delete an existing inbound mailbox route
- Visibility: public
- $id string - <p>the unique identifier of an existing route</p>
array Mandrill_Inbound::sendRaw(string $raw_message, array|null $to, string $mail_from, string $helo, string $client_address)
Take a raw MIME document destined for a domain with inbound domains set up, and send it to the inbound hook exactly as if it had been sent over SMTP
- Visibility: public
- $raw_message string - <p>the full MIME document of an email message</p>
- $to array|null - <p>optionally define the recipients to receive the message - otherwise we'll use the To, Cc, and Bcc headers provided in the document</p> <ul> <li>to[] string the email address of the recipient</li> </ul>
- $mail_from string - <p>the address specified in the MAIL FROM stage of the SMTP conversation. Required for the SPF check.</p>
- $helo string - <p>the identification provided by the client mta in the MTA state of the SMTP conversation. Required for the SPF check.</p>
- $client_address string - <p>the remote MTA's ip address. Optional; required for the SPF check.</p>