> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAccountManagementSendCustomAccountRecoveryEmailRequest

> PFAccountManagementSendCustomAccountRecoveryEmailRequest data model. PlayFab accounts which have valid email address or username will be able to receive a.

PFAccountManagementSendCustomAccountRecoveryEmailRequest data model. PlayFab accounts which have valid email address or username will be able to receive a password reset email using this API.The email sent must be an account recovery email template. The username or email can be passed in to send the email.

## Syntax

```cpp theme={null}
typedef struct PFAccountManagementSendCustomAccountRecoveryEmailRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    const char* email;  
    const char* emailTemplateId;  
    const char* username;  
} PFAccountManagementSendCustomAccountRecoveryEmailRequest;  
```

### Members

**`customTags`**   [PFStringDictionaryEntry](https://docs.xbox.com/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry.md) const\*\
*may be nullptr*

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

**`customTagsCount`**   uint32\_t

Count of customTags

**`email`**   const char\*\
*is null-terminated*

(Optional) User email address attached to their account.

**`emailTemplateId`**   const char\*\
*is null-terminated*

The email template id of the account recovery email template to send.

**`username`**   const char\*\
*is null-terminated*

(Optional) The user's username requesting an account recovery.

## Requirements

**Header:** PFAccountManagementTypes.h

## See also

[PFAccountManagementTypes members](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)


## Related topics

- [PFAccountManagementServerSendCustomAccountRecoveryEmailAsync](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserversendcustomaccountrecoveryemailasync.md)
- [Services C API overview - PFAccountManagementTypes.h](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [Send Custom Account Recovery Email](https://docs.xbox.com/services/playfab/api-references/rest/server/account-management/send-custom-account-recovery-email.md)
- [Send Account Recovery Email](https://docs.xbox.com/services/playfab/api-references/rest/admin/account-management/send-account-recovery-email.md)
- [PFAccountManagementSendAccountRecoveryEmailRequest](https://docs.xbox.com/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementsendaccountrecoveryemailrequest.md)
