Function createMarketingEmailHandler
- createMarketingEmailHandler(req: Request<{}, {}, {
allUsers: undefined | boolean;
html: string;
specificUsers: undefined | string[];
subject: string;
}, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>): Promise<undefined | Response<any, Record<string, any>>>
-
Parameters
-
req: Request<{}, {}, {
allUsers: undefined | boolean;
html: string;
specificUsers: undefined | string[];
subject: string;
}, ParsedQs, Record<string, any>>
-
res: Response<any, Record<string, any>>
Returns Promise<undefined | Response<any, Record<string, any>>>
This controller will send marketing emails
Author
tharun634, aayushchugh