MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=emailuser
(main | emailuser)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
Envieu un correu electrònic a un usuari.
Parameters:
- target
Usuari a qui enviar el correu.
- This parameter is required.
- subject
Subject header.
- text
Cos del correu.
- This parameter is required.
- ccme
Envia'm una còpia d'aquest correu electrònic.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Example:
- Send an email to the User WikiSysop with the text Content.
- api.php?action=emailuser&target=WikiSysop&text=Content&token=123ABC