UtilsSaveEmail Method

Saves a formatted email message as a text file

Definition

Namespace: MbcsCentral.Email
Assembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
C#
public static string SaveEmail(
	string FromEmail,
	string DisplayName,
	string ToEmail,
	string Subject,
	string message,
	string fileName,
	string date,
	bool ReturnReceipt = false
)

Parameters

FromEmail  String
DisplayName  String
ToEmail  String
Subject  String
message  String
Body of the message
fileName  String
Full path to which to save
date  String
 
ReturnReceipt  Boolean  (Optional)
Was there a return receipt specified

Return Value

String
Null if successful otherwise error message

See Also