Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello everyone.

 

I have an application that zips up some files and then attempts to send that in an e-mail as an attachment.

 

I have noticed that if the zip file is small it works fine, but the zip is generally between 1 and 2 MB's, and at that size (Which is still rather small) it fails. I get an error that it failed due to the target of an invocation.

 

I'm assuming that perhaps the zip file is not being released prior to the e-mail being generated when it's larger? I have both the zip creation and e-mail generation in their own backGroundWorkers.

 

My question is what the suggested course of action would be for doing something like this. I've never had an issue with accessing a file like this before.

 

I really appreciate any suggestions anyone may have for this.

 

Thanks Again,

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...