emailRssGetDetail
public static array emailRssGetDetail(string token, string emailID)
Get all the details for given Email ID.
| Parameters |
| string token | A valid token for your account. To generate a token, use the login method. |
| string emailID | The email ID to delete. To get all the emails, use the emailRssGet method. |
| Returns |
| array | Returns an array with the details. |
| Return Structure |
| integer sequence | The sequence number of the record |
| string id | The ID of the email campaign. |
| string emailName | Name of the email campaign |
| string fromName | Name displayed as "from" in your contact's in-box |
| string fromEmail | The from email that appears in the recipients inbox |
| string replyEmail | Replies are forwarded to this address |
| string subject | The subject line of the email |
| integer toListID | The ID of the target contact list |
| string toListName | The name of the target contact list |
| bool isSegment | Returns true if a segment has been used as the target. |
| string templateContent | The HTML content of the email |
| string templateText | The Text version of the email |
| string us_address | The Address line in case of US-based sender |
| string us_city | The City in case of US-based sender |
| string us_state | The State in case of US-based sender |
| string us_zip | The Zip Code in case of US-based sender |
| string intl_address | The Address line in case of Outside US-based sender |
| string permissionReminderMessage | The Permission reminder which appears on top of the email. |
| string googleAnalyticsCampaign | The Google Analytics campaign name. |
| bool webpageVersion | Returns true if a link to view a web version of the email has been set |
| string status | The status of the email. Can be 'Draft', 'Scheduled', 'Sent', 'Incomplete' |
| string createdDate | The date on which the list was created |
| string modifiedDate | The date on which the list was last updated |
| string rssurl | The url for the Rss feed |
| string rssinterval | Interval for the Rss campaign in days |
| string rssactive | indicates whether the Rss campaign is active |
- <?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);
- /**
- Fetch the latest email, so we can retrieve the email ID.
- **/
- $emailList = $client->emailRssGet($token, "", 1, 1, "", "");
- $emailID = $emailList[0]['id'];
-
- $emailData = $client->emailRssGetDetail($token, $emailID);
- print_r($emailData);
- ?>