Chapter 5 adding attachments to emails

Chapter 5 adding attachments to emails Add attachments to messages Attachments can be added to an email or message part (specifically, to an instance of% Net.MailMessagePart or% Net.MailMessage). To do this, use the following method: Each of these methods adds an attachment to the Parts array of the original message (or part of t ...

Posted by eth0g on Tue, 08 Feb 2022 20:21:51 +0100

Chapter 4 adding namespace declaration

Chapter 4 adding namespace declaration Add namespace declaration Default behavior In% XML The writer will automatically insert the namespace declaration, generate the namespace prefix, and apply the prefix where appropriate. For example, the following class definitions: Class Sample.Person Extends (%Persistent, %Populate, %XML.A ...

Posted by hussainz2000 on Mon, 31 Jan 2022 03:52:48 +0100

Chapter 21 using% XML Textreader navigation document

Chapter 21 using% XML Textreader navigation document Navigation document To navigate through a document, use the following methods of a text reader: Read(), ReadStartElement(), MoveToAttributeIndex(), MoveToAttributeName(), MoveToElement(), MoveToContent(), and Rewind(). Navigate to the next node To move to the next node in the ...

Posted by matanoosh on Tue, 25 Jan 2022 02:19:39 +0100

Chapter 19 using% XML TextReader

Chapter 19 using% XML TextReader %XML. The textreader class provides a simple and easy way to read any XML document that may or may not be mapped directly to the InterSystems IRIS object. Specifically, this class provides a way to navigate a well formed XML document and view the information in it (elements, attributes, comments, na ...

Posted by Fking on Tue, 25 Jan 2022 01:03:35 +0100

Chapter V use of documents

Chapter V use of documents Use file %Library. The file class provides several class methods that allow various operations on files. Copy file To copy a file, use the CopyFile() method, which returns a Boolean value indicating success or failure. This method takes four parameters: from - specifies the name of the source file.T ...

Posted by PolyPill on Tue, 18 Jan 2022 19:42:51 +0100

Chapter 76 method Keyword - SoapAction

Chapter 76 method Keyword - SoapAction Specifies the SOAP operation to use in the HTTP header when this method is called as a web method over HTTP. Applies only to classes defined as web services or web clients. usage To specify the SOAP operation to use in the HTTP header when using this method as a web method, use the following ...

Posted by TreColl on Mon, 03 Jan 2022 18:28:54 +0100