import { singleton } from 'zutils' import { timeoutFetch } from 'zutils/utils/net.util' export const DEFAULT_VERIFY_HTML = `
CEBG needs to confirm your email address is still valid. Please click the link below to confirm you received this mail.
If you're worried about this email being legitimate, you can visit CEBG directly to confirm your email needs verifying. After doing so, please don't forget to click the link above.
` export const DEFAULT_REGIST_SUBJECT = 'CEBG regist code' export const DEFAULT_REGIST_HTML = `{{time}}
This is your one time code that expires in 5 minutes.
Use it to login CEBG. Never share this code with anyone.
` export const DEFAULT_RESET_SUBJECT = 'CEBG reset password code' export const DEFAULT_RESET_HTML = `{{time}}
This is your one time code that expires in 5 minutes.
Use it to login CEBG. Never share this code with anyone.
` export const DEFAULT_VERIFY_MAIL_SUBJECT = 'CEBG verify email code' export const DEFAULT_VERIFY_MAIL_HTML = `{{time}}
This is your one time code that expires in 5 minutes.
Use it to login CEBG. Never share this code with anyone.
` export const DEFAULT_LOGIN_MAIL_SUBJECT = 'Counter Fire email login code' export const DEFAULT_LOGIN_MAIL_HTML = `{{time}}
Please enter it within 5 minutes as it expires shortly.
For security purposes, do not share this code with anyone.
Best,
The Counter Fire Team
` export interface IMailData { from?: string to: string subject?: string text?: string html?: string } const DEFAULT_MSG_DATA: IMailData = { from: 'CEBG