CnSmtpConnection and Karma Control

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

CnSmtpConnection and Karma Control

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:45 am

by Robin Arzoni >> Thu, 9 Dec 1999 2:49:13 GMT

Hi,

As there has been some confusion about the relationship between CardSchema's CnSmtpConnection class and the CnKarmaCntrl class, the CnSmtpConnection doc has been updated, and is attached to this message.

In summary,

The CnSmtpConnection class assumes that Karma Control has been activated for the current app.
If you invoke CnSmtpConnection::send without having activated Karma Control, you will get a CnSmtpConnectionException.

For instructions on how to activate Karma Control, please refer to the CardSchema 2.4
Class Library documentation, subsection 6.4.

Hint: To activate Karma Control for a fat client, do 'app.cnActivateKarmaControl(Cn_Fat_Client, null, null);'

Do not delete objects of the CnKarmaCntrl class. These are deleted by CardSchema's finalize method.

There is no need to set the myCnKarmaCntrl property of the CnSmtpConnection object. This property is not used anywhere.

Regards,
Robin
Attachments
885_1.doc
(297 KiB) Downloaded 193 times

Return to “General Discussion”

Who is online

Users browsing this forum: Bing [Bot] and 23 guests

cron