.NET Components
Chilkat .NET Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character Encoding Conversion

Back to Mime Class Summary

Mime::AppendPartFromFile

Loads a file and creates a Mime message object using the file extension to determine the content type, and adds it as a sub-part to the calling object.

  Declarations  
    [Visual Basic]
Public Function AppendPartFromFile(ByVal String filename) As Boolean

[C#]
public bool AppendPartFromFile(string filename);

[C++]
public bool AppendPartFromFile(String *filename);

[JScript]
public function AppendPartFromFile(String filename) : Boolean
 
  Parameters  
   
filename
File to be added to the MIME message
 

Copyright 2002, Chilkat Software, Inc. All Rights Reserved.