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

Back to Email Class Summary

Email::AddFileAttachment

Adds a file as an attachment to the email. Returns the MIME content-type of the attachment, which is inferred based on the filename extension.

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

[C#]
public string AddFileAttachment(string filename);

[C++]
public String *AddFileAttachment(String *filename);

[JScript]
public function AddFileAttachment(String filename) : String
 
  Parameters  
   
filename
File to be attached.
 

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