PHP-mail-sender/index.html
2019-08-01 14:24:11 +02:00

72 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>PHP Mail Sender</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
div.half {
float: left;
width: 50%;
width: 48%;
margin: 0 1%;
}
@media screen and (max-width: 600px) {
div.half {
clear: both;
}
}
</style>
</head>
<body>
<form method="get" action="php-mail-sender.zip" method="get" target="_blank">
<button>Download script</button>
</form>
<div class="half">
<form action="mail-smtp.php" method="post">
<h1>PHP Mailer over SMTP server</h1>
<p>Server:</p>
<input type="text" name="server">
<p>Username:</p>
<input type="text" name="username">
<p>Password:</p>
<input type="password" name="password">
<p>Port:</p>
<input type="text" name="port">
<p>Encryption:</p>
<select name="encryption">
<option value="ssl">SSL</option>
<option value="tls">TLS</option>
<option value="none">No encryption</option>
</select>
<p>Email from:</p>
<input type="text" name="from-email">
<p>Email to:</p>
<input type="text" name="recipient-email">
<br>
<br>
<input type="submit" value="Send">
<br>
<br>
<button type="reset" value="Reset">Reset</button>
</form>
</div>
<div class="half">
<form action="mail.php" method="post">
<h1>PHP mailer</h1>
<p>Email from:</p>
<input type="text" name="from-email">
<p>Email to:</p>
<input type="text" name="recipient-email">
<br>
<br>
<input type="submit" value="Send">
<br>
<br>
<button type="reset" value="Reset">Reset</button>
<br>
</form>
</div>
</body>
</html>