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: src/Sendinblue/README.md
+4-2Lines changed: 4 additions & 2 deletions
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
* You can install the SendinBlue API using [Composer](https://packagist.org/packages/mailin-api/mailin-api-php). Just add the following to your composer.json:
11
13
12
14
```{
@@ -35,7 +37,7 @@ use Sendinblue\Mailin
35
37
* This will initiate the API with the endpoint and your access key.
36
38
*
37
39
*/
38
-
$mailin = new Mailin('https://api.sendinblue.com/v2.0','Your access key');
40
+
$mailin = new Mailin('https://api.sendinblue.com/v2.0','Your access key', 5000); // Optional parameter: Timeout in MS
39
41
40
42
/** Prepare variables for easy use **/
41
43
@@ -145,7 +147,7 @@ List of API calls that you can make, you can click to read more about it. Please
145
147
146
148
####Recommendation:
147
149
148
-
If you face any error like "Curl error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:func(144):reason(134)\n", with our library then by adding the below line of code just before curl_exec() ( line no. 37 ) in mailin.php file, you may no longer face this issue.
150
+
If you face any error like "Curl error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:func(144):reason(134)\n", with our library then by adding the below line of code just before curl_exec() ( line no. 48 ) in mailin.php file, you may no longer face this issue.
0 commit comments