login about faq

Hi, Is there anyway i can add attachment from stream in chilkat email object? I am trying to add attachment directly from FileUpload Control. Generally this can be done like this:

Dim fileName As String = Path.GetFileName(FileUpload1.PostedFile.FileName) Dim myAttachment As New Attachment(FileUpload1.FileContent, fileName) myMailMessage.Attachments.Add(myAttachment)

Is it possible to do with Chilkat Email?


asked Jun 28 '13 at 05:42

Shaoun1000's gravatar image


Anyone there to answer this?


answered Jun 29 '13 at 14:48

Shaoun1000's gravatar image


I'm sorry to say that it's not a feature available in the Chilkat API. For now, the Chilkat API is focused on cross-platform, cross-programming language compatibility. Using streams tends to be specific to a single programming language. Chilkat may address this in the future, but it's not possible for now.

PS> An easy way to answer this question for yourself would be to examine the online reference documentation. If there are no methods for loading an attachment from a stream, then (of course) the feature is not present..


answered Jul 01 '13 at 10:18

chilkat's gravatar image

chilkat ♦♦

Regarding your PS! i do always check your references, blog and example code. But i was hoping some miracle as you already developed this excellent product.

Many thanks for the clarification.


answered Jul 01 '13 at 20:22

Shaoun1000's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jun 28 '13 at 05:42

Seen: 1,339 times

Last updated: Jul 01 '13 at 20:22

powered by OSQA