We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23ae7ba commit 79bb9d2Copy full SHA for 79bb9d2
apps/web/types/zeptomail.d.ts
@@ -0,0 +1,12 @@
1
+declare module "zeptomail" {
2
+ export class SendMailClient {
3
+ constructor(config: { url: string; token: string });
4
+ sendMail(options: {
5
+ from: { address: string; name: string };
6
+ to: Array<{ email_address: { address: string; name: string } }>;
7
+ subject: string;
8
+ htmlbody: string;
9
+ textbody?: string;
10
+ }): Promise<any>;
11
+ }
12
+}
0 commit comments