Possible to use Email in non-HTML Mode Only?

Question: Is it possible to use the email component in non-HTML mode only? For instance, I don’t want to be seeing HTML in the .Body after downloading the message from the server. Answer: Any given email can have a plain-text body, an HTML body, or both. The emailObject.Body property will contain the HTML body if present, or the plain-text body […]

Verify Email Delivery?

Question: Is it possible to check if an email is delivered properly? Answer: The Chilkat MailMan is an SMTP client. It connects to an SMTP server to initiate the delivery of email. Typically you would connect to your company’s or ISP’s SMTP server. If the email is to be sent elsewhere, the SMTP server relays the email to the remote […]

VB.NET to Extract a File from one Zip Archive and Append it to Another Zip Archive

The following VB.NET code copies the contents of the nutrition.xml file (found in xml1.zip) to another pre-existing .zip named xml2.zip: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim zip1 As New Chilkat.Zip Dim success As Boolean success = zip1.UnlockComponent(“Anything for 30-day trial”) success = zip1.OpenZip(“xml1.zip”) Dim entry As Chilkat.ZipEntry entry = zip1.GetEntryByName(“nutrition.xml”) ‘ Assume the […]

Using the ChilkatDotNet2.dll Assembly in PowerShell

Question: I was going to try to use Powershell to send a “digitally signed” message, but I am not sure of how to “install” the “ChilkatDotNet2.dll” so Powershell can call it. Is there a way, or do I have to use the ActiveX version? Answer: I’ve never tried PowerShell, but after a little searching on the Web, I see that […]

VB6 – Compile error: User-defined type not defined

If you see the following error on a Dim statement such as the following: Dim sa as New CkStringArray Make sure you add a reference to the appropriate Chilkat ActiveX. Select “Project–>References” from the VB6 menu and then check the checkbox next to the Chilkat ActiveX component to be referenced. (Select “Chilkat Util” for the CkStringArray object.) The complete mapping […]

UNC Path — Could not load assembly — Failed to grant minimum permission requests.

The following error can occur when trying to load  ChilkatDotNet2.dll from a UNC path located on another computer. Could not load file or assembly ‘ChilkatDotNet2, Version=9.0.4.0, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd’ or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417) It is because the .NET runtime does not give full trust to the external UNC location.   You […]