ACYMailing API Test

=====Debugging printout =====

new UserClassto save at line 111

Object
(
|  email=String(19)“jab@jimbrooking.net”
|  name=String(14)“James Brooking”
)
  • 0 pr() called at [/home/customer/www/new.fearringtonfha.org/public_html/code/funcPr.php:128]
  • 1 pd() called at [/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php:111]
  • 2 require(/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php) called at [/home/customer/www/new.fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code:2]

=====End Debugging printout=====

=====Debugging printout =====

Test 3 userID returned, should be integer > 0 at line 115

=Boolean(0)FALSE
  • 0 pr() called at [/home/customer/www/new.fearringtonfha.org/public_html/code/funcPr.php:128]
  • 1 pd() called at [/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php:115]
  • 2 require(/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php) called at [/home/customer/www/new.fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code:2]

=====End Debugging printout=====

>p>Test 4 – Create a List – PASSED

=====Debugging printout =====

Test 4 listId returned, should be integer > 0 at line 130

=Integer(4)3568
  • 0 pr() called at [/home/customer/www/new.fearringtonfha.org/public_html/code/funcPr.php:128]
  • 1 pd() called at [/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php:130]
  • 2 require(/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php) called at [/home/customer/www/new.fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code:2]

=====End Debugging printout=====

=====Debugging printout =====

new stdClass to save as an email at line 149

Object
(
|  subject=String(12)“your subject”
|  name=String(18)“your campaign name”
|  body=String(39)“Hi folks, we have a big announcement…”
|  bcc=String(16)“example@test.com”
|  draft=Integer(1)0
)
  • 0 pr() called at [/home/customer/www/new.fearringtonfha.org/public_html/code/funcPr.php:128]
  • 1 pd() called at [/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php:149]
  • 2 require(/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php) called at [/home/customer/www/new.fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code:2]

=====End Debugging printout=====

Test 5 – Create an Email – PASSED

=====Debugging printout =====

ID of created email; should be integer > 0 at line 153

=Integer(4)1471
  • 0 pr() called at [/home/customer/www/new.fearringtonfha.org/public_html/code/funcPr.php:128]
  • 1 pd() called at [/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php:153]
  • 2 require(/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php) called at [/home/customer/www/new.fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code:2]

=====End Debugging printout=====

=====Debugging printout =====

stdClass to be saved as a campaign at line 163

Object
(
|  draft=Integer(1)1
|  mail_id=Integer(4)1471
|  sending_type=String(3)“now”
)
  • 0 pr() called at [/home/customer/www/new.fearringtonfha.org/public_html/code/funcPr.php:128]
  • 1 pd() called at [/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php:163]
  • 2 require(/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php) called at [/home/customer/www/new.fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code:2]

=====End Debugging printout=====

Test 6 – Create a Campaign – PASSED

=====Debugging printout =====

ID of created campaign (should be integer > 0 at line 167

=Integer(2)52
  • 0 pr() called at [/home/customer/www/new.fearringtonfha.org/public_html/code/funcPr.php:128]
  • 1 pd() called at [/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php:167]
  • 2 require(/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php) called at [/home/customer/www/new.fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code:2]

=====End Debugging printout=====


Notice: Undefined variable: acyUserId in /home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php on line 174

Notice: Undefined variable: sendDate in /home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php on line 174

=====Debugging printout =====

Should see a queue class with id > 0176

=Integer(1)0
  • 0 pr() called at [/home/customer/www/new.fearringtonfha.org/public_html/code/funcPr.php:128]
  • 1 pd() called at [/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php:176]
  • 2 require(/home/customer/www/new.fearringtonfha.org/public_html/fhaphp/ACYM_API_Demo.php) called at [/home/customer/www/new.fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code:2]

=====End Debugging printout=====