Email Configuration
sunbird_mail_server_host =
sunbird_mail_server_port =
sunbird_mail_server_username =
sunbird_mail_server_password =
sunbird_mail_server_from_email = [email protected]
sendgrid_connection_reset_interval //default is 60000LAdding Email Template to Cassandra DB
INSERT INTO sunbird.email_template(name, template) VALUES('myEmailTemplate', '<!doctype html><html> <head> <meta> <meta> <title></title> </head> <body> <table> <tr> <td> </td><td> <div class="content"> <span class="preheader"></span> <table class="main"> <tr> <td class="wrapper"> <table> <tr> <tr> <td> #if ($orgImageUrl) <p> <img src="$orgImageUrl" alt="logo" align="right" width="180" height="100"> </p>#end </td></tr><td> #if ($name) <p >Hi $name,</p>#end <p >$body</p></body></html>')
Last updated
Was this helpful?