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

Back to Email Class Summary

Email::AddRelatedFile

Adds the contents of a file to the email and returns the Content-ID. Emails formatted in HTML can include images with this call and internally reference the image through a "cid" hyperlink. (Chilkat Email.NET fully supports the MHTML standard.)

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

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

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

[JScript]
public function AddRelatedFile(String filename) : String
 
  Parameters  
   
filename
File to be added as a related content item.
 

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