Question:
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.
Anyone there to answer this?
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..
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.