# \[付费\] 自动更改用户邮箱

**URL:** https://meta.discourse.org/t/paid-automatically-change-user-email/133146
**Category:** Marketplace
**Created:** [2019年十一月11日 20:51 UTC](https://meta.discourse.org/t/paid-automatically-change-user-email/133146 "2019-11-11T20:51:32Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![hosna](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hosna/32/99969_2.png) [@hosna](https://meta.discourse.org/u/hosna)
#### Post date: [2019年十一月11日 22:14 UTC](https://meta.discourse.org/t/paid-automatically-change-user-email/133146/4 "2019-11-11T22:14:31Z")

</div>

> [@pfaffman](#):
>
> 你不需要插件；你需要修改代码，让 API 实现你想要的功能。

据我所知，Discourse 没有可以直接修改用户邮箱而无需确认的 API 调用。它有一个 [Shell 命令](https://meta.discourse.org/t/change-users-email-without-verification/66602/7?u=hosna) 可以实现，但这并不适合我的情况。

> [@pfaffman](#):
>
> 你的代码是用什么语言编写的？

我用 PHP 编写了自己的 API。

> [@pfaffman](#):
>
> 你有预算吗？

我真的不确定这需要多少成本。该代码作为 Shell 命令已经实现在核心功能中。我不确定将其以 API 形式提供需要多少成本。

---

_[View the full topic](https://meta.discourse.org/t/paid-automatically-change-user-email/133146)._
