-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemail.html
executable file
·110 lines (83 loc) · 3.54 KB
/
email.html
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<!--[if IE]><![endif]-->
<title></title>
<meta name="description" content="">
<meta name="author" content="">
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/ui-lightness/jquery-ui.css" rel="Stylesheet" />
<link rel="stylesheet" href="css/style.css?v=1">
<link rel="stylesheet" href="email.css">
</head>
<!--[if lt IE 7 ]> <body class="ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie7"> <![endif]-->
<!--[if IE 8 ]> <body class="ie8"> <![endif]-->
<!--[if IE 9 ]> <body class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <body> <!--<![endif]-->
<div id="container">
<header></header>
<div id="main">
<div style="padding: 10px;">
<p> <a href="index.html">home</a> <a href="actions.html">actions</a> <a href="email.html">email</a>
<a href="protectedPage.html">pageLogin</a> <a href="protectedResource.html">clickLogin</a>
<a href="http://code.google.com/p/safeajax/">googleCode</a> <a href="SA-Users.pdf">diagram</a>
</div>
<div class="bordered leftFloater">
<div class="bordered">
<p>email handler input fields
<p style="padding: 20px;">
from name: <input id="email_name" value="" /> <br>
from domain: <input id="email_domain" value="" /> <br>
from address: <input id="email_addr" value="" /> <br> <br>
email_to: <input id="email_to" /> <br>
email_cc: <input id="email_cc" /> <br>
email_bcc: <input id="email_bcc" /> <br> <br>
subject: <input id="email_subject" /> <br> <br>
body: <textarea id="email_body"></textarea> <br>
<button id="getEMailHeader">Get Header</button>
<button id="getEMail">Get EMail</button>
<button id="sendEMail">Send EMail</button>
</div>
</div>
<div class="bordered leftFloater">
<div class="bordered">
<p>email handler action result
<p style="padding: 10px;">
<div class="wrapped resultDiv" id="getEMailHandler-result"></div>
</div>
</div>
<div class="clearFloat">
</div>
<div class="bordered leftFloater">
<div class="bordered wideOne">
<p>substitutions -- format as a JSON string (include outer {}'s) ex: {"uname": "Frank", "pwd": "Jones"}
<p style="padding: 10px;">
<textarea rows="7" cols="100" id="email_substitutions">{}</textarea>
</div>
</div>
<div style="position: absolute; bottom:5px;">
<div id="debugDiv"></div>
this page is based on Paul Irish's <a href="http://html5boilerplate.com/">html5 boilerplate</a>
</div>
</div>
<footer></footer>
</div> <!-- end of #container -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.js"></script>
<script src="lib/jquery.checkboxes.min.js"></script>
<script src="lib/jquery.selectboxes.min.js"></script>
<script type="text/javascript" src="./lib/safeAjax/safeAjax_v5.js"></script>
<!--[if lt IE 7 ]>
<script src="js/dd_belatedpng.js?v=1"></script>
<![endif]-->
<script src="email.js"></script>
<script>
var _gaq = [['_setAccount', 'UA-10127989-1'], ['_trackPageview']];
(function(d, t) {
var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
g.async = true; g.src = '//www.google-analytics.com/ga.js'; s.parentNode.insertBefore(g, s);
})(document, 'script');
</script>
</body>
</html>