---
UID: NF:fsrm.IFsrmActionEmail.get_MessageText
title: IFsrmActionEmail::get_MessageText (fsrm.h)
description: Retrieves or sets the message text of the email that is sent when this action generates email.
old-location: fsrm\ifsrmactionemail_messagetext.htm
tech.root: fsrm
ms.assetid: 5d4aef81-2be3-41c6-8639-8a0c5402615a
ms.date: 12/05/2018
ms.keywords: IFsrmActionEmail interface [File Server Resource Manager],MessageText property, IFsrmActionEmail.MessageText, IFsrmActionEmail.get_MessageText, IFsrmActionEmail2 interface [File Server Resource Manager],MessageText property, IFsrmActionEmail2.MessageText, IFsrmActionEmail2::MessageText, IFsrmActionEmail2::get_MessageText, IFsrmActionEmail2::put_MessageText, IFsrmActionEmail::get_MessageText, IFsrmActionEmail::put_MessageText, MessageText property [File Server Resource Manager], MessageText property [File Server Resource Manager],IFsrmActionEmail interface, MessageText property [File Server Resource Manager],IFsrmActionEmail2 interface, fs.ifsrmactionemail_messagetext, fsrm.ifsrmactionemail_messagetext, fsrm/IFsrmActionEmail2::MessageText, fsrm/IFsrmActionEmail2::get_MessageText, fsrm/IFsrmActionEmail2::put_MessageText, fsrm/IFsrmActionEmail::MessageText, fsrm/IFsrmActionEmail::get_MessageText, fsrm/IFsrmActionEmail::put_MessageText, get_MessageText
f1_keywords:
- fsrm/IFsrmActionEmail2.MessageText
dev_langs:
- c++
req.header: fsrm.h
req.include-header: FsrmQuota.h, FsrmScreen.h
req.target-type: Windows
req.target-min-winverclnt: None supported
req.target-min-winversvr: Windows Server 2008
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: SrmSvc.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- SrmSvc.dll
api_name:
- IFsrmActionEmail2.MessageText
- IFsrmActionEmail2.get_MessageText
- IFsrmActionEmail2.put_MessageText
- IFsrmActionEmail.MessageText
- IFsrmActionEmail.get_MessageText
- IFsrmActionEmail.put_MessageText
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IFsrmActionEmail::get_MessageText


## -description


<p class="CCE_Message">[This property is supported for compatibility but it's recommended to use the 
    <a href="https://docs.microsoft.com/previous-versions/windows/desktop/fsrm/fsrm-wmi-classes">FSRM WMI Classes</a> to manage FSRM. Please see the 
    <a href="https://docs.microsoft.com/previous-versions/windows/desktop/fsrm/msft-fsrmaction">MSFT_FSRMAction</a>,
    <a href="https://docs.microsoft.com/previous-versions/windows/desktop/fsrm/msft-fsrmfmjaction">MSFT_FSRMFMJAction</a>, and 
    <a href="https://docs.microsoft.com/previous-versions/windows/desktop/fsrm/msft-fsrmfmjnotificationaction">MSFT_FSRMFMJNotificationAction</a> 
    classes.]

Retrieves or sets the message text of the email that is sent when this action generates 
    email.

This property is read/write.


## -parameters


## -see-also




<a href="https://docs.microsoft.com/previous-versions/windows/desktop/api/fsrm/nn-fsrm-ifsrmactionemail">IFsrmActionEmail</a>



<a href="https://docs.microsoft.com/previous-versions/windows/desktop/api/fsrm/nn-fsrm-ifsrmactionemail2">IFsrmActionEmail2</a>



<a href="https://docs.microsoft.com/previous-versions/windows/desktop/fsrm/msft-fsrmaction">MSFT_FSRMAction</a>



<a href="https://docs.microsoft.com/previous-versions/windows/desktop/fsrm/msft-fsrmfmjaction">MSFT_FSRMFMJAction</a>



<a href="https://docs.microsoft.com/previous-versions/windows/desktop/fsrm/msft-fsrmfmjnotificationaction">MSFT_FSRMFMJNotificationAction</a>
 

 

