Skip to content

Instantly share code, notes, and snippets.

@taleeb35
Created September 12, 2014 10:52
Show Gist options
  • Save taleeb35/c2ff489575f2c3cc19ba to your computer and use it in GitHub Desktop.
Save taleeb35/c2ff489575f2c3cc19ba to your computer and use it in GitHub Desktop.
$email_body = '<table width="800px" cellspacing="0" cellpadding="5" border="1" style="border-collapse: collapse;">'
. '<tr><th>ID</th> <th>Task Name</th> <th>Assigned Date</th> <th>Action</th> </tr>';
$task_view_link = '<a href="' . APP_URL . '/issues/view/' . $issue_id . '">' . $task_name . '</a>';
$close_issue = '<a href="' . APP_URL . '/issues/email_close_issue/' . $issue_id . '/' . $issue_close_string . '">Close Task</a>';
$email_body .= '<tr><td>' . $issue_id . ' </td><td>' . $task_view_link . '</td><td>' . $target_email_date . '</td><td>' . $close_issue . '</td></tr>';
$email_body .='</table>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment