File tree Expand file tree Collapse file tree
packages/polymath-issuer/src/pages/account/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export default class TickerCard extends Component {
88 return (
99 < div className = "token-symbol-wrapper" >
1010 < div className = "pui-page-box" >
11- < h3 > Continue to configure security token </ h3 >
11+ < h3 > Configure New Security Token </ h3 >
1212 < div style = { { height : '140px' } } />
1313 < br />
1414 < Link to = "/ticker" >
Original file line number Diff line number Diff line change 1+ const sgMail = require ( '@sendgrid/mail' ) ;
2+ const dotenv = require ( 'dotenv' ) ;
3+ dotenv . config ( ) ;
4+ console . log ( process . env . SENDGRID_API_KEY ) ;
5+ const msg = {
6+ from : { email : 'noreply@polymath.network' , name : 'Polymath Network' } ,
7+ replyTo : 'noreply@polymath.network' ,
8+ to : { email : 'remon@polymath.network' , name : 'Remon Nashid' } ,
9+ subject : 'Hello 2' ,
10+ html : '<html>Content2</html>' ,
11+ } ;
12+
13+ if ( process . env . SENDGRID_API_KEY ) {
14+ sgMail . setApiKey ( process . env . SENDGRID_API_KEY ) ;
15+ } else {
16+ throw new Error ( 'SENDGRID_API_KEY not set' ) ;
17+ }
18+
19+ ( async function ( ) {
20+ await sgMail . send ( msg ) ;
21+ } ) ( ) ;
You can’t perform that action at this time.
0 commit comments