> ## 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 数据模型。具有有效电子邮件地址或用户名的 PlayFab 帐户将能够接收。

PFAccountManagementSendCustomAccountRecoveryEmailRequest 数据模型。具有有效电子邮件地址或用户名的 PlayFab 帐户将能够使用此 API 接收密码重置电子邮件。发送的电子邮件必须为帐户恢复电子邮件模板。可以传入用户名或电子邮件以发送电子邮件。

## 语法

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

### 成员

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

（可选）与请求关联的可选自定义标记（例如生成号、外部跟踪标识符等）。

**`customTagsCount`**   uint32\_t

customTags 的数量

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

（可选）附加到用户帐户的用户电子邮件地址。

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

要发送的帐户恢复电子邮件模板的电子邮件模板 ID。

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

（可选）请求帐户恢复的用户的用户名。

## 要求

**头文件：** PFAccountManagementTypes.h

## 另请参阅

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


## Related topics

- [PFAccountManagementServerSendCustomAccountRecoveryEmailAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserversendcustomaccountrecoveryemailasync.md)
- [服务 C API 概览 - PFAccountManagementTypes.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [Send Custom Account Recovery Email](https://docs.xbox.com/api-reference/account-management/send-custom-account-recovery-email.md)
- [PFAccountManagementSendAccountRecoveryEmailRequest](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementsendaccountrecoveryemailrequest.md)
- [Send Account Recovery Email](https://docs.xbox.com/api-reference/account-management/send-account-recovery-email.md)
