function mail_send_message() {
document.body.style.cursor = "wait";
- url = "/ctdl/r/" + escapeHTMLURI(current_room)
+ let url = "/ctdl/r/" + escapeHTMLURI(current_room)
+ "/dummy_name_for_new_mail"
+ "?wefw=" + msm_field("ctdl_mc_references", "!") // references (if present)
+ "&subj=" + msm_field("ctdl-compose-subject-field", " ") // subject (if present)
+ "&mailcc=" + msm_field("ctdl-compose-cc-field", ",") // Cc: (if present)
+ "&mailbcc=" + msm_field("ctdl-compose-bcc-field", ",") // Bcc: (if present)
;
- console.log(url);
boundary = randomString();
body_text =
"--" + boundary + "\r\n"