-
Notifications
You must be signed in to change notification settings - Fork 0
/
sendemail.php
61 lines (59 loc) · 1.77 KB
/
sendemail.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!-- main send email page -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Send Email to users</title>
</head>
<style>
body {
font-family: Arial, sans-serif;
background-color: beige;
margin: 0;
padding: 20px;
}
form {
max-width: 400px;
margin: 0 auto;
background-color: #D5F3FE;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
input[type="email"],
input[type="text"],
textarea {
width: 100%;
margin-bottom: 10px;
padding: 8px;
border-radius: 3px;
border: 1px solid #ccc;
resize: vertical; /* Allow vertical resizing */
}
textarea {
/* Additional styles for the textarea */
min-height: 150px; /* Set minimum height */
}
button[type="submit"] {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 3px;
cursor: pointer;
}
button[type="submit"]:hover {
background-color: #0056b3;
}
</style>
<body>
<form class="" action="send.php" method="POST">
<h2>Send response to the users ☕︎</h2>
Email <input type="email" name="email" value=""> <br>
Subject <input type="text" name="subject" value=""> <br>
Message <textarea name="message"></textarea> <br>
<button type="submit" name="send">Send</button>
</form>
</body>
</html>