Untitled

 avatar
unknown
plain_text
2 years ago
1.7 kB
3
Indexable
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Рассылка E-mail писем</title>
	<style>
		body {
			font-family: Arial, sans-serif;
			padding: 20px;
		}
		h1 {
			text-align: center;
		}
		form {
			margin: 20px auto;
			width: 600px;
			display: flex;
			flex-direction: column;
		}
		input[type="text"],
		input[type="email"],
		input[type="file"],
		textarea {
			padding: 10px;
			margin: 10px 0;
			border-radius: 5px;
			border: 1px solid #ccc;
			font-size: 16px;
			width: 100%;
			box-sizing: border-box;
		}
		input[type="submit"] {
			padding: 10px 20px;
			background-color: #4CAF50;
			color: #fff;
			border: none;
			border-radius: 5px;
			font-size: 16px;
			cursor: pointer;
		}
		input[type="submit"]:hover {
			background-color: #3e8e41;
		}
	</style>
</head>
<body>
	<h1>Рассылка E-mail писем</h1>
	<form action="send_emails.php" method="post" enctype="multipart/form-data">
		<label for="from_name">Имя отправителя:</label>
		<input type="text" id="from_name" name="from_name" required>

		<label for="from_email">E-mail отправителя:</label>
		<input type="email" id="from_email" name="from_email" required>

		<label for="subject">Тема письма:</label>
		<input type="text" id="subject" name="subject" required>

		<label for="message">Сообщение:</label>
		<textarea id="message" name="message" rows="10" required></textarea>

		<label for="email_list">Список адресов (CSV файл):</label>
		<input type="file" id="email_list" name="email_list" accept=".csv" required>

		<input type="submit" value="Отправить">
	</form>
</body>
</html>
Editor is loading...