email format

This commit is contained in:
CHIEFSOFT\ameye
2024-02-03 13:28:50 -05:00
parent 179d1655ff
commit bf687647b5
2 changed files with 28 additions and 31 deletions
@@ -1,22 +1,26 @@
Subject: {{site_name}} - Verify {{email}} to Continue
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>{{site_name}} - Pending Signup - Verify {{email}}</title>
<style type="text/css">
body {margin: 0; padding: 0; min-width: 100%!important;}
body {margin: 0; padding: 0; min-width: 100%!important; font-family: sans-serif;}
img {height: auto;}
.content {width: 100%; max-width: 600px;}
.header {padding: 10px 10px 10px 10px;}
.innerpadding {padding: 10px 10px 10px 10px;}
.signup_random{ font-size: 44px; padding:10px; margin:10px;}
.line-band {height 20px;}
.warning{color:lightred; font-weight: bolder; padding 10px;}
.continue-web{background-color:aliceblue; padding:10px;}
.cent-ver{text-align:center; }
.borderbottom {border-bottom: 1px solid #f2eeed;}
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
.bodycopy {font-size: 14px; line-height: 20px;}
.bodycopy {font-size: 14px; line-height: 20px; padding-bottom:10px;}
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
.button a {color: #ffffff; text-decoration: none;}
.footer {padding: 20px 30px 15px 30px; bgcolor:#007bff; background-color:#007bff;}
@@ -36,7 +40,7 @@ img {height: auto;}
<![endif]-->
<table bgcolor="#ffffff" class="content" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td bgcolor="#62a5ce" class="header">
<td class="header">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="left" cellpadding="0" cellspacing="0" border="0">
<tr>
@@ -53,7 +57,7 @@ img {height: auto;}
</td>
</tr>
<tr>
<td class="subhead" style="padding: 0 0 0 3px; text-align:center;">
<td class="subhead" style="color:black; padding: 0 0 0 3px; text-align:center;">
{{site_trade_name}}
</td>
</tr>
@@ -84,7 +88,7 @@ Hello {{firstname}},
</tr>
<tr>
<td class="bodycopy">
&nbsp;&nbsp;Welcome to {{site_name}}!. In order to complete your registration , use the number below to complete registration.
&nbsp;&nbsp;Welcome to {{site_name}}!. In order to complete your registration , use the one time verification code below to complete registration.
</td>
</tr>
</table>
@@ -93,39 +97,31 @@ Hello {{firstname}},
<tr>
<td class="innerpadding borderbottom">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="left" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table class="col380" align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="bodycopy cent">
Enter the number <b>{{signup_random}}</b> in the mobile app to continue.
<hr size="1" class="ls1">
Or
<hr size="1">
<a href="{{server_name}}/vemail?vlnk={{verify_link}}">Click here to verify account</a> to continue your account on the web.
<hr size="1" class="ls1">
<td class="cent-ver">
Enter the number verification code <br>
<span class="signup_random">{{signup_random}}</span> <br>
in the mobile app to continue.
<div class="line-band"><br></div>
<div class="continue-web">
If you want to continue on the web, <a href="{{server_name}}/vemail?vlnk={{verify_link}}">click here to verify account</a> to continue your account on the web.
</div>
</td>
</tr>
<tr>
<td class="bodycopy" style="color:#ff0033">
<b>Note : The link will expire by:{{expire}} </b>
<div class="warning">Note : The link will expire by:{{expire}} </div>
<div class="line-band"><br></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
@@ -167,11 +163,6 @@ You received this email because you subscribe to {{site_name}}. If you get this
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</table>
+7 -1
View File
@@ -25,6 +25,7 @@ long PastDueWarings(CVars in, CVars &out);
long PastDueOffersRefund(CVars in, CVars &out);
long NotificationSystem(CVars in, CVars &out);
long CronTracker(CVars in, CVars &out);
long SendMoneyPending(CVars in, CVars &out);
/*
CREATE TABLE cron_jobs (
id SERIAL,
@@ -102,7 +103,7 @@ long sitecrons_calls(CVars in, CVars &out) {
ct["job_type"]="WRB_CRONJOB_PENDINGSM"; ct["job_type"].set_valid( true );
ct["description"]="Alert Pending Transfers "; ct["description"].set_valid( true );
CronTracker(ct, co);
return 0; //NotificationSystem(in, out);
return SendMoneyPending(in, out);
break;
case WRB_CRONJOB_GROUPJOBS:
@@ -118,6 +119,11 @@ long sitecrons_calls(CVars in, CVars &out) {
return ret;
}
long SendMoneyPending(CVars in, CVars &out){
return 0;
}
long NotificationSystem(CVars in, CVars &out){
long ret = 0;
//const PGresult *res;