You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
343 B
15 lines
343 B
"use strict";
|
|
|
|
interface IMessage {
|
|
from: string;
|
|
headers: { [headerName: string]: any };
|
|
subject: string;
|
|
text: string;
|
|
to: string;
|
|
}
|
|
|
|
export const send = (message: IMessage, callback: () => void) => {
|
|
console.log("Mail sender is not implemented");
|
|
console.log(message.subject);
|
|
process.nextTick(callback);
|
|
};
|
|
|