-
Notifications
You must be signed in to change notification settings - Fork 0
/
email_formate.php
93 lines (46 loc) · 1.39 KB
/
email_formate.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
$to = $row['email'];
$subject = 'Request for Loan';
$headers = "From: ".$admininfo['email']." \r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$message = '<html><body>';
$message.='<table width="100%" border="0">
<tr>
<td colspan="2">Dear '.$row['fname']." ".$row['surname'].'<br> You apply for the loan..Your request for loan is send to admin for approvel. <br>Your application detail is as follow. </td>
</tr>
<tr>
<td><strong>Loan Amount </strong></td>
<td>£'.$amount.'</td>
</tr>
<tr>
<td><strong>Time Period</strong> </td>
<td>'.$period.' Days</td>
</tr>
<tr>
<td><strong>Repayment Date</strong> </td>
<td>'.$date.'</td>
</tr>
<tr>
<td><strong>Borrowing</strong></td>
<td>£'.$selectedAmount.'</td>
</tr>
<tr>
<td><strong>Intrest & Fees</strong> </td>
<td>£'.$interestAmount.'</td>
</tr>
<tr>
<td><strong>Total to Repay</strong> </td>
<td>£'.$totalAmount.'</td>
</tr>
<tr>
<td colspan="2">We will contact you within one business day.<br>Thank you<br>QuickBuddy Team<br>
www.Quickbuddy.co.uk
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>';
$message .= "</body></html>";
$send1=mail($to, $subject, $message, $headers);