Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F12655909
message.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
364 B
Referenced Files
None
Subscribers
None
message.js
View Options
const
assert
=
require
(
"assert"
);
module
.
exports
=
class
Message
{
constructor
({
to
,
subject
,
html
,
attachments
,
text
})
{
assert
(
to
);
assert
(
subject
);
assert
(
html
);
assert
(
attachments
===
undefined
||
Array
.
isArray
(
attachments
));
Object
.
assign
(
this
,
{
to
,
subject
,
html
,
attachments
,
text
});
}
async
send
(
app
)
{
return
app
.
Mail
.
send
(
this
);
}
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 28, 15:07 (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1068080
Default Alt Text
message.js (364 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment