Question Roger Taylor · Sep 18, 2023 Method (%Net.SMTP).Send returns error # 6167 (Authentication expected but failed.) Our client says the call to send email (method (%Net.SMTP).Send) started returning error # 6167 (Authentication expected but failed.) after installing IRIS 2022.1.2; email had worked before. Properties (%Net.Authenticator).UserName and .Password were configured. We can get email to work when we don't set property (%Net.SMTP).authenticator. Any ideas what is going on? Thanks. #Authentication #InterSystems IRIS for Health 0 2 0 368
Question Roger Taylor · Jun 8, 2021 LDAP.mac -- Why use $$$WindowsCacheClient instead of $$$ISWINDOWS? Reference: sample LDAP code routine LDAP.mac Some IF statements reference macro $$$WindowsCacheClient as a boolean flag to mark if the client calling the LDAP server is running Windows. Other IF statements reference $$$ISWINDOWS. Are they not the same thing? That is, does the routine need $$$WindowsCacheClient at all? Examples: #define WindowsCacheClient 1 #LDAP #Caché #InterSystems IRIS 0 2 0 213
Question Roger Taylor · Mar 29, 2021 $system.OBJ.Load -- Why does it sometimes not overwrite a .cls file? Background: We have our own SQL map that predates InterSystems'. A program writes an XML file for each table map class as $system.OBJ.Export would. $system.OBJ.LoadDir loads the XML files into .cls files. The reason is a long story, but we need to update parameter EXTENTSIZE (only) in existing classes. This does not seem to happen. As a test I used $system.OBJ.Export to make an XML file and edited EXTENTSIZE in the two places it appears in the XML: #ObjectScript #SQL #Tools #Caché #InterSystems IRIS 0 4 0 549