Skip to content
Snippets Groups Projects
Commit d3dafa21 authored by Tim Steiner's avatar Tim Steiner
Browse files

Fix email glitches.

parent 5477c59a
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,8 @@ class ErrorController extends App_Controller_Action {
}
*/
$mail->setBodyText($body);
$mail->setBodyText('See HTML');
$mail->setBodyHtml("<pre>\n" . $body . "\n</pre>\n");
$mail->send();
}
}
......@@ -91,6 +91,26 @@ class App_RequestNotification
$mail->addTo($user->getEmail(), $user->getFirstName() . ' ' . $user->getLastName());
$mail->setFrom('automated@courseapproval.unl.edu', 'Course Approval');
$mail->setSubject('Curriculum Approval: You have ' . $requestCount . ' pending requests.');
$mail->setBodyText(
<<<EOF
Please log in to courseapproval.unl.edu to view and respond to your pending
course requests.
1. Copy and paste or type courseapproval.unl.edu into to address bar of your
Internet browser and log in to the system using your Blackboard username and
password. You may also access the system through the ACE web site: Go to
ace.unl.edu, click on Course Submission under Navigation, then click on the
link on that page.
2. After you have logged in, click on "My Requests".
3. Course requests with a status of "decision" require you attention.
4. Upon determining your action, click on the drop-down box under "status" and
make your selection.
5. Finally, click on the "Submit Decisions" button to process your decisions.
For more information about these automated e-mails go to ace.unl.edu.
EOF
);
$mail->setBodyHtml(
<<<EOF
<p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment