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?

Thanks.

asked Jun 28 '13 at 05:42

Shaoun1000's gravatar image

Shaoun1000
1556


Anyone there to answer this?

link

answered Jun 29 '13 at 14:48

Shaoun1000's gravatar image

Shaoun1000
1556

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..

link

answered Jul 01 '13 at 10:18

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

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.

link

answered Jul 01 '13 at 20:22

Shaoun1000's gravatar image

Shaoun1000
1556

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×184
×22

Asked: Jun 28 '13 at 05:42

Seen: 1,391 times

Last updated: Jul 01 '13 at 20:22

powered by OSQA