import { SMTPHandler } from "https://deno.land/x/denomailer@1.3.0/client/mod.ts";
Sends a E-Mail with the correspondig config.
client.send({
to: 'abc@example.com',
cc: [
'abc@example.com',
'abc <abc@example.com>',
{
name: 'abc',
mail: 'abc@example.com'
}
],
bcc: {
abc: 'abc@example.com',
other: 'abc@example.com'
},
from: 'me <abc@example.com>',
replyTo: '<abc@example.com>',
subject: 'example',
content: 'auto',
html: '<p>Hello World</p>',
internalTag: 'newsletter',
priority: 'low'
})
Parameters
config: SendConfig
Email config