Changes

Jump to navigation Jump to search
Added MIME info.
Line 30: Line 30:  
== Announcements ==
 
== Announcements ==
   −
Announcements aren't downloaded with the E-Mail system, the announcement WC24 content files are downloaded with WC24. Format of URLs: http://cfh.wapp.wii.com/announce/cn/ln/num.bin
+
Announcements aren't downloaded with the E-Mail system, the announcement WC24 content files are downloaded with WC24 via HTTP. Format of URLs: http://cfh.wapp.wii.com/announce/cn/ln/num.bin
cn is the [[Country_Codes|country code]] with 3 decimal places.(Like 049 for USA.) cn is a zero based [[getwiimsg|language code]]. num is the msg file number, 1-based. There's 4 files total. Message file #4 is the newest file, #3 is older, and so on. Announcements can be downloaded with [[getwiimsg]].
+
cn is the [[Country_Codes|country code]] with 3 decimal places.(Like 049 for USA.) cn is a zero based [[getwiimsg|language code]]. num is the msg file number, 1-based. There's 4 files total. Message file #4 is the newest file, #3 is older, and so on. Announcements can be downloaded with [[getwiimsg]]. The WC24 HTTP mail contains MIME data which is a container for the actual E-Mail. Although the MIME data has timestamps, WC24 will save the actual mail to [[:/shared2/wc24/mbox/wc24recv.mbx|wc24recv.mbx]] when the file was modified since the last download, regardless of the MIME timestamps. Sample MIME data:
 +
--BoundaryForDL201006092127/3767779
 +
Content-Type: text/plain
 +
 +
This part is ignored.
 +
 +
 +
--BoundaryForDL201006092127/3767779
 +
Content-Type: text/plain
 +
 +
<actual mail here>
 +
 
 +
--BoundaryForDL201006092127/3767779--
 +
 
 +
The boundary format is as follows: BoundaryForDLyyyymmddhhmm/rrrrrrr
 +
The fields are 1-based: yyyy is year, mm is month and dd is day, hh and mm are hour and minute. rrrrrrr is random decimal.
    
== E-Mail system ==
 
== E-Mail system ==
    
E-Mail is checked, received, and sent with HTTP(S). Everything except for checking for new mail uses HTTPS. The URLs and post params for mail are used from [[:/shared2/wc24/nwc24msg.cfg|/shared2/wc24/nwc24msg.cfg]].
 
E-Mail is checked, received, and sent with HTTP(S). Everything except for checking for new mail uses HTTPS. The URLs and post params for mail are used from [[:/shared2/wc24/nwc24msg.cfg|/shared2/wc24/nwc24msg.cfg]].
340

edits

Navigation menu