Skip to content

Commit c0c0be0

Browse files
author
Josh Pettett
committed
fix batching example to use new file param syntax
1 parent beaddc7 commit c0c0be0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/sendFilesWithBatching.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
$params = array(
99
'to' => $toNumber,
1010
'file' => array(
11-
# Create files and put their names here prefixed with '@'
12-
'@files/coverPage.html',
13-
'@files/content.pdf'
11+
# Use open file handles to upload files
12+
fopen('files/coverPage.html', 'r'),
13+
fopen('files/content.pdf', 'r')
1414
),
1515
'batch_delay' => 60
1616
);

0 commit comments

Comments
 (0)