MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API [archive]

action=emailuser-html

(main | emailuser-html)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: EmailuserHtml
  • License: GPL-3.0

Envoyer un courriel à un utilisateur.

Parameters:
target

Utilisateur à qui envoyer le courriel.

This parameter is required.
subject

Entête du sujet.

text

Corps du courriel (texte).

This parameter is required.
ccme

M’envoyer une copie de ce courriel.

Type: boolean (details)
html

Corps du courriel (HTML).

This parameter is required.
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.
Example:
Send an email to user WikiSysop with the text Content.
api.php?action=emailuser&target=WikiSysop&text=Content&token=123ABC [open in sandbox]