public static bool autoresponderUpdate(string token, int status ,array Autoresponder)
Update the autoresponder whose id has been specified.
Email Campaign Related Methods

string tokenA valid token for your account. To generate a token, use the login method.
int statusSet it as 1 if you need to activate the Autoresponder else set it as 0.
array AutoresponderThe array containing the contact details.
string autoresponderNameThe autoresponder name
string fromNameName displayed as "from" in your contact's in-box
string fromEmailEmail displayed as "from address" in your contact's in-box
bool webpageVersionoptional. Include a link to view a web version of the email. Defaults to false.
bool permissionReminderoptional. If this is specified as true then the permissionReminderMessage must be set
string permissionReminderMessageoptional. Permission reminder message text, this must be set if permissionReminder is enabled

boolreturns true is update is successful else returns false

download example code

  1. <?php
  2. /**
  3. This Example shows how to authenticate a user using XML-RPC.
  4. Note that we are using the PEAR XML-RPC client and recommend others do as well.
  5. **/
  6. require_once 'XML/RPC2/Client.php';
  7. require_once 'inc/config.php';
  8. $client = XML_RPC2_Client::create($apiURL);
  9. $token = $client->login($apiLogin, $apiPassword);
  11. $Autoresponder = array();
  12. $Autoresponder['autoresponderName'] = 'Autoresponder 1 update';
  13. $Autoresponder['fromName'] = 'Joe de maggio';
  14. $Autoresponder['fromEmail'] = '';
  15. $Autoresponder['webpageVersion'] = true;
  16. $Autoresponder['permissionReminder'] = true;
  17. $Autoresponder['permissionReminderMessage'] = 'Please click here to confirm, Confirm my subscription.';
  18. $flag = $client->autoresponderUpdate($token,1,$Autoresponder);
  19. ?>