Function __global->update_bounce_storage
Definitions
sources/mail2.php
- Update the details in our bounce storage table, by looking at received bounces.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $host | string | No | No | required parameter | N/A | N/A | The server hostname |
| $port | integer | No | No | required parameter | N/A | N/A | The port |
| $type | ?string | No | No | required parameter | imap imaps imaps_nocert pop3 pop3s pop3s_nocert | N/A | The protocol (null: use configured / autodetect) |
| $folder | string | No | No | required parameter | N/A | N/A | The inbox identifier |
| $username | string | No | No | required parameter | N/A | N/A | The username |
| $password | string | No | No | required parameter | N/A | N/A | The password |
| $since | ?TIME | No | No | Null | N/A | N/A | Only find bounces since this date (null: 8 weeks ago). This is approximate, we will actually look from a bit further back to compensate for possible timezone differences |
Preview
Code (PHP)
/**
* Update the details in our bounce storage table, by looking at received bounces.
*
* @param string $host The server hostname
* @param integer $port The port
* @param ?string $type The protocol (null: use configured / autodetect)
* @set imap imaps imaps_nocert pop3 pop3s pop3s_nocert
* @param string $folder The inbox identifier
* @param string $username The username
* @param string $password The password
* @param ?TIME $since Only find bounces since this date (null: 8 weeks ago). This is approximate, we will actually look from a bit further back to compensate for possible timezone differences
*/
function update_bounce_storage(string $host, int $port, ?string $type, string $folder, string $username, string $password, ?int $since = null)
* Update the details in our bounce storage table, by looking at received bounces.
*
* @param string $host The server hostname
* @param integer $port The port
* @param ?string $type The protocol (null: use configured / autodetect)
* @set imap imaps imaps_nocert pop3 pop3s pop3s_nocert
* @param string $folder The inbox identifier
* @param string $username The username
* @param string $password The password
* @param ?TIME $since Only find bounces since this date (null: 8 weeks ago). This is approximate, we will actually look from a bit further back to compensate for possible timezone differences
*/
function update_bounce_storage(string $host, int $port, ?string $type, string $folder, string $username, string $password, ?int $since = null)

