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