Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

AlternateView.SetContentFromFile Method

Namespace: Rebex.Mail
Assembly: Rebex.Mail.dll (version 7.0.9147)

SetContentFromFile(String, String)

Sets the content of this view to data read from the specified file and sets media type.

Declaration
public void SetContentFromFile(string fileName, string mediaType)
Parameters
Type Name Description
String fileName

Path to the file to read data from.

String mediaType

Media type.

SetContentFromFile(String)

Sets the content of this view to data read from the specified file.

Declaration
public void SetContentFromFile(string fileName)
Parameters
Type Name Description
String fileName

Path to the file to read data from.

Remarks

Media type is set to 'text/plain'.

In This Article
  • SetContentFromFile(String, String)
  • SetContentFromFile(String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies