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

Back to Email Class Summary

Email::AddFileAttachment2

Same as AddFileAttachment, but the content type can be explicitly specified.

  Declarations  
    [Visual Basic]
Public Function AddFileAttachment2(ByVal String filename , ByVal String contentType) As Boolean

[C#]
public bool AddFileAttachment2(string filename , string contentType);

[C++]
public bool AddFileAttachment2(String *filename , String *contentType);

[JScript]
public function AddFileAttachment2(String filename , String contentType) : Boolean
 
  Parameters  
   
filename
File to be attached.
contentType
Content type, such as "image/gif"
 

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