Subscribes or unsubscribes a user from the mail list. To use a proxy server, you must set the UseProxyServer, ProxyUser, ProxyDomain and ProxyPassword properties prior to calling this function.
C#: bool SubscribeToMailList (string webServiceUrl, string customerEmail, bool includeInMailList, out string response)
Http: http://server/qlm/qlmservice.asmx/SubscribeToMailListHttp?is_email=user@cie.com&is_include=1
Parameters
webServiceUrl - URL to the QLM License Server.
customerEmail - email address of customer
includeInMailList - true to subscribe, false to unsubscribe
response - XML fragment containing the result of the call. The Xml fragment schema is as follows:
<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<result>Succesfully subscribed customer.</result>
</QuickLicenseManager>
In the event of an error, the XML fragments returns:
<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<error>Details about the error</error>
</QuickLicenseManager>
Comments
0 comments
Article is closed for comments.