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
{{ message }}
This repository was archived by the owner on May 18, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: V2.0/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ This is the SendinBlue Php library. It implements the various exposed APIs that
7
7
8
8
* You will need to first get the Access key from [SendinBlue](https://www.sendinblue.com).
9
9
10
+
* Our library supports a timeout value, default is 30,000 MS ( 30 secs ), which you can pass as 3rd parameter in Mailin class Object.
11
+
10
12
* Assuming that you have cloned this git repo, or downloaded Mailin.php and its in the same directory than the script. You can use this small sample script to get started.
11
13
12
14
```PHP
@@ -16,7 +18,7 @@ require('Mailin.php');
16
18
* This will initiate the API with the endpoint and your access key.
17
19
*
18
20
*/
19
-
$mailin = new Mailin('https://api.sendinblue.com/v2.0','Your access key');
21
+
$mailin = new Mailin('https://api.sendinblue.com/v2.0','Your access key', 5000); // Optional parameter: Timeout in MS
0 commit comments