-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
63 lines (44 loc) · 1.67 KB
/
index.php
File metadata and controls
63 lines (44 loc) · 1.67 KB
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
<?php
?>
<html>
<head>
<meta charset="utf-8" />
<title>App Mail Send</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div class="py-3 text-center">
<img class="d-block mx-auto mb-2" src="logo.png" alt="" width="72" height="72">
<h2>Send Mail</h2>
<p class="lead">Seu app de envio de e-mails particular!</p>
</div>
<div class="row">
<div class="col-md-12">
<div class="card-body font-weight-bold">
<?php if( isset($_GET['teste']) && isset($_GET['teste']) == 'erro' ) : ?>
<div class="alert alert-danger" role="alert">
Preencha o formulário para poder enviar o E-Mail
</div>
<?php endif ?>
<form action="processa_envio.php" method="post">
<div class="form-group">
<label for="para">Para</label>
<input name="para" type="text" class="form-control" id="para" placeholder="E-Mail">
</div>
<div class="form-group">
<label for="assunto">Assunto</label>
<input name="assunto" type="text" class="form-control" id="assunto" placeholder="Assundo do e-mail">
</div>
<div class="form-group">
<label for="mensagem">Mensagem</label>
<textarea name="mensagem" class="form-control" id="mensagem"></textarea>
</div>
<button type="submit" class="btn btn-success btn-lg text-white btn-block">Enviar Mensagem</button>
</form>
</div>
</div>
</div>
</div>
</body>
</html>