Initial commit: Kimai TMS
Kimai time management system (PHP 5.6 / MySQL) with custom extensions: - Budget tracking (ki_budget) - Change request form (ki_changerequest) - Invoice generation (ki_invoice) - Expense tracking (ki_expenses) - Flexi time (ki_flexitime) - Export, admin panel, timesheets, tasks, summary Database: ~900K time entries, 2,000+ users, 439 projects. Config: includes/autoconf.php — localhost/kimai/kimai
This commit is contained in:
39
mailsend.php
Normal file
39
mailsend.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
$to = "bobbypretoria@gmil.com";
|
||||
$bcc="imbatmanbatman@gmail.com"
|
||||
$subject = "Kimai reminder";
|
||||
|
||||
$message = "
|
||||
<html>
|
||||
<head>
|
||||
<title>mail reminder</title>
|
||||
</head>
|
||||
<body>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body {
|
||||
background-color: #666666;
|
||||
}
|
||||
.style1 {font-family: Verdana, Arial, Helvetica, sans-serif}
|
||||
.style2 {font-family: Verdana, Arial, Helvetica, sans-serif; color: #FFFFFF; }
|
||||
-->
|
||||
</style><p class="style2">Hi all!
|
||||
</p>
|
||||
<p class="style2"> This is a friendly reminder, make sure you have made necessary amendments on your timesheet for the past week. </p>
|
||||
<p class="style2">Auto generated by system script<br>
|
||||
Alteram Solutions Developers</p>
|
||||
<p class="style1"> </p>
|
||||
<p><img src="http://tms.alteram.co.za/skins/standard/grfx/g3_logo.png" width="151" height="52">Powered by <img src="http://www.alteram.co.za/images/logo.png" width="190" height="61"></p></body>
|
||||
</html>
|
||||
";
|
||||
|
||||
// Always set content-type when sending HTML email
|
||||
$headers = "MIME-Version: 1.0" . "\r\n";
|
||||
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
|
||||
|
||||
// More headers
|
||||
$headers .= 'From: <ashley@alteram.co.za>' . "\r\n";
|
||||
//$headers .= 'Cc: myboss@example.com' . "\r\n";
|
||||
|
||||
mail($to,$subject,$message,$headers);
|
||||
?>
|
||||
Reference in New Issue
Block a user