[Package Index | Mudlib Index | Effect Index]
File /obj/handlers/mail_import.c
This class holds all generic information about a mail.Includes
This class includes the following files /obj/handlers/mail.hClass Index
Method index
- add_to_folder(string, string, int, string)
- create_new_message(int, string, int, string *)
- delete_account(string)
- delete_from_folder(string, string, int)
- do_chunk(int *)
- do_contents_chunk(class mail_header *, string *)
- handle_next()
- handle_next_folder(string *)
- import_mail(int)
- next_fold()
- set_status(string, string, int, string)
- start_next_letter()
Public Functions
These are functions that everyone can access.
-
add_to_folder
string add_to_folder(string player,
string folder,
int mail_id,
string status)
-
create_new_message
void create_new_message(int mail_id,
string data,
int links,
string * sent)
-
delete_account
void delete_account(string player)
-
delete_from_folder
void delete_from_folder(string player,
string folder,
int mail_id)
-
do_chunk
void do_chunk(int * ids)
-
do_contents_chunk
void do_contents_chunk(class mail_header * contents,
string * folders)
-
handle_next
void handle_next()
-
handle_next_folder
void handle_next_folder(string * folders)
-
import_mail
void import_mail(int mail_id)
-
next_fold
void next_fold()
-
set_status
void set_status(string player,
string folder,
int mail_id,
string status)
-
start_next_letter
void start_next_letter()
Classes
These are nice data types for dealing with... Data!
-
mail_header
class mail_header {
int number;
string status;
string subject;
string from;
}
This class stores information about a mailing list.
- Members:
members - Members of the mailing list
controllers - Controllers of the mailing list
creator - Who created the mailing list
-
mail_info
class mail_info {
int mail_id;
int date;
string from;
string * to;
string * cc;
string subject;
string body;
int references;
}
-
mail_info_personal
class mail_info_personal {
int mail_id;
int date;
string from;
string * to;
string * cc;
string subject;
int status;
}
This class holds "personal" information about a mail.
- Members:
mail_id - The mail ID
date - When the mail was sent
from - Who sent the mail
to - Whom the mail was sent to
cc - Whom the mail was CC'd to
subject - The subject of the mail
status - What the status of the mail is
-
mailing_list
class mailing_list {
string * members;
string * controllers;
string creator;
}
This class stores information about a mailing list.
- Members:
members - Members of the mailing list
controllers - Controllers of the mailing list
creator - Who created the mailing list