chore: remove unused file
This commit is contained in:
parent
b4d4f232ce
commit
313f69ca7b
|
@ -1,24 +0,0 @@
|
||||||
import { Mail, Options } from '../types.ts'
|
|
||||||
import { Contact } from './contact.ts'
|
|
||||||
|
|
||||||
export function format(
|
|
||||||
from: Contact,
|
|
||||||
to: Contact[],
|
|
||||||
subject: string,
|
|
||||||
body: string,
|
|
||||||
options: Partial<Options>,
|
|
||||||
): Mail {
|
|
||||||
const defaultOptions: Options = {
|
|
||||||
from,
|
|
||||||
cc: [],
|
|
||||||
cci: [],
|
|
||||||
attachments: [],
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
to,
|
|
||||||
subject,
|
|
||||||
body,
|
|
||||||
options: { ...defaultOptions, ...options },
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue