Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

receive.cgi

Spotlight edited this page Jan 13, 2018 · 2 revisions

Example from Wii:

POST /cgi-bin/receive.cgi HTTP/1.1
Host: mtw.rc24.xyz
User-Agent: WiiConnect24/2.0.3.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 62

mlid=wFRIEND_CODE&passwd=PASSWD&maxsize=1578040
  • mlid is your Wii Friend Code starting with a w.
  • passwd is defined in the nwc24msg.cfg.
  • maxsize is the max amount of bytes of mail the server should send. Anything exceeding this limit provides errors.

Example response from server:

HTTP/1.1 200 OK
Content-Type: multipart/mixed; boundary=BoundaryForDLYmdHi/9976884
Date: Sun, 26 Nov 2017 06:42:59 GMT
Content-Length: 672

--BoundaryForDLYmdHi/9976884
Content-Type: text/plain

This part is ignored.



cd=100
msg=Success.
mailnum=1
mailsize=534
allnum=1

--BoundaryForDLYmdHi/9976884
Content-Type: text/plain

Date: 09 Aug 2017 18:48:19 -0000
From: etc@rc24.xyz
To: etc@rc24.xyz,
 etc@rc24.xyz
Message-Id: <etc@rc24.xyz>
X-Wii-AppId: 2-48414341-0001
X-WiiFace: redacted
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

The response is information about the amount of mail and size sent, and then actual mail.

Clone this wiki locally