Skip to content
Mistium edited this page Aug 15, 2024 · 5 revisions

Rmail allows for any project to have access to a working emails system!

You could make your own email client, integrate emails into your own os, or just mess around :P

When recieved

block_15_08_2024-02_14_09

This Hat will fire whenever your account receives a new email, allowing you to refresh your email client when needed

Send Mail

block_15_08_2024-02_15_20

This block allows you to send an Rmail to any user on rotur

Success

"Mail sent to [username]"

Failure

Attempted to send more than 100 characters in the title of the Rmail
"Cannot Send Mail With Title Longer Than 100 Characters"

Attempted to send more than 50,000 characters in the body of the Rmail
"Cannot Send Mail Thats More Than 50kb"

Get Mail

block_15_08_2024-02_19_13

This block return an array of mail items

Here is an example of some mail:

[
  {
    "title":"Subject",
    "recipient":"user",
    "timestamp":1723684583612,
    "from":"temp"
  }
]

Get Body

block_15_08_2024-02_21_16

This block is how you actually read the Rmails, it returns the Rmail body at a specific index of the mail list array

An example response for this block is below:

{
  "body":"Message",
  "info":{
    "title":"Subject",
    "recipient":"user",
    "timestamp":1723684583612,
    "from":"temp"
  }
}

Delete Mail

block_15_08_2024-02_23_32

This block works the same as the get body reporter, except it will delete an Rmail from your account and shift the rest along

Delete all Mail

block_15_08_2024-02_24_46

This block will entirely clear your account of all Rmails

Clone this wiki locally