Archived Forum Post

Index of archived forum posts

Question:

chilkat.email.AddFileAttachment error

Jul 27 '12 at 14:33

THE .NET EXCEPTION:

 External component has thrown an exception.

   at ClsEmail.AddFileAttachmentX(ClsEmail* , XString* , XString* )
   at Chilkat.Email.AddFileAttachment(String fileName)

THE CHILKAT.LASTERRORTEXT:

    ChilkatLog:
      AddFileAttachment:
        DllDate: Dec  2 2009
        Username: liz
        Component: .NET 2.0
        filename: C:\Documents and Settings\NancyD\Desktop\SUMMER 2012 pdf.pdf

IF I CALL ZIPATTACHMENTS:

Chilkat.LastErrorText:
ChilkatLog:
  ZipAttachments:
    DllDate: Dec  2 2009
    Username: kevinh
    Component: .NET 2.0
    ZipFilename: Attachments.zip
    NumAttachments: 1

this is occurring consistently for my client when they attempt to send multiple emails - it does NOT occur when sending a single email.

unfortunately, the EXCEPTION & STACK TRACE tells us nothing and as you see, the Chilkat.LastErrorText also tells us nothing

how do i find more detailed info about the error that chilkat is throwing in this situation?

~UPDATE~

i think i know what the root of the issue is: the internal static (shared) method: " ClsEmail.AddFileAttachmentX(ClsEmail , XString , XString* )"

notice the 1st argument is the email object - this leads me to believe that Chilkat is storing some sort of array / collection of all the email objects i am creating - and when my code fails, it is because the total attachment size has exceeded some internal Chilkat limit

has anyone ever seen this before?


Answer

~bump~

this is causing our client's issues and they (and we) are waiting for an answer


Answer

The DLL date is quite old, have you tried the latest version of the components?