File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
backend/src/business/email/EmailService Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 11import { ServerClient , TemplatedMessage } from 'postmark' ;
2+ import { MessageSendingResponse } from 'postmark/dist/client/models' ;
23import isProduction from '../../utils/isProduction' ;
3- import { EmailResult , EmailService , TemplatedEmailData } from './EmailService' ;
4- import EmailStreamType from '../templates/EmailStreamType' ;
54import required from '../../utils/required' ;
6- import { MessageSendingResponse } from 'postmark/dist/client/models' ;
5+ import EmailStreamType from '../templates/EmailStreamType' ;
6+ import { EmailResult , EmailService , TemplatedEmailData } from './EmailService' ;
77
88const POSTMARK_TOKEN = required ( process . env . POSTMARK_TOKEN , 'POSTMARK_TOKEN' ) ;
99const POSTMARK_SANDBOX_TOKEN = required (
1010 process . env . POSTMARK_SANDBOX_TOKEN ,
1111 'POSTMARK_SANDBOX_TOKEN'
1212) ;
1313
14- const DEV_ALLOWED_DOMAINS = [ '@1940s.nyc' , '@bounce-testing.postmarkapp.com' ] ;
14+ const DEV_ALLOWED_DOMAINS = [
15+ '@1940s.nyc' ,
16+ '@bounce-testing.postmarkapp.com' ,
17+ 'blackhole.postmarkapp.com' ,
18+ ] ;
1519
1620const streamIds : Record < EmailStreamType , string > = {
1721 [ EmailStreamType . TRANSACTIONAL ] : 'outbound' ,
You can’t perform that action at this time.
0 commit comments