signupFormUpdateMessage
public static boolean signupFormUpdateMessage(string token, SignupFormDataStructure signupForm)
Update various custom fields of an existing SignUp Form based on the details provided. Return Boolean value true if SignupForm updated.
| Parameters |
| string token | A valid token for your account. To generate a token, use the login method. |
| string signupFormID | ID of the signupform which you want to update. |
| array signupForm | The array containing the signup Form details.
| string welcomeEmailFromName | Name in the From field of the mail which is sent to the user for welcome him in the contact list. | | string welcomeEmailFromEmail | Email in the From email field of the mail which is sent to the user for welcome him in the contact list. | | string welcomeEmailSubject | Subject of the welcome mail | | string welcomeEmailMessage | Message in the welcome mail | | string welcomeEmailConfirmationText | Text which will appear as the text on which user will click for confirming the mail | | string welcomeEmailSignature | Text which will appear as the signature of the welcome mail | | string successRedirectURL | Url to which user will be redirected after the successful signup process. | | string optinRedirectURL | Url to which user will be redirected after he successfully opts in the mail. | | string optinAlertFrequency | Frequency of sending mail to the user. |
|
| Returns |
| string | Returns true if SignupForm updated else false. |
- <?php
- /**
- This Example shows how to authenticate a user using XML-RPC.
- Note that we are using the PEAR XML-RPC client and recommend others do as well.
- **/
- require_once 'XML/RPC2/Client.php';
- require_once 'inc/config.php';
- $client = XML_RPC2_Client::create($apiURL);
- $token = $client->login($apiLogin, $apiPassword);
-
- $signupForm['welcomeEmailConfirmationText'] = 'Thanks For Joining Us';
- $signupForm['welcomeEmailFromEmail'] = 'user1@domainname.com';
- $signupForm['welcomeEmailFromName'] = 'FromName';
- $signupForm['welcomeEmailMessage'] = 'Welcome to our List';
- $singupForm['welcomeEmailSubject']='Confirmation Mail';
- $signupFormID='484';
- $retVal = $client->signupFormUpdateMessage($token, $signupFormID,$singupForm);
- ?>