summaryrefslogtreecommitdiff
path: root/tutors/email/index.php
blob: 49e430a61096e3de4cf332ddb69c17528ef0f21a (plain) (blame)
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
<!--
 set up mail forwarding from existing tutor emails to personal emails (one-way)
- disable dnssec on google domains
- unlock google domain
- transfer to porkbun via ui with google domains token; approve transfer on google domains
- clone 53hor.net DNS records into porkbun domain
- turn on dnssec for porkbun domain
- turn on ssl certificate generation for porkbun domain
-->

<?php include('../../header.php'); ?>

<section class="banner">
	<h1>Email setup</h1>
</section>

<section class="quiet flexible">
	<div>
		<p>
			Every tutor is expected to use a @carpentertutoring.com email address to facilitate client communication. This guide will walk you through setting up your email from scratch and configuring your mail client to use it.
		</p>

		<p>
			You have two options for using your new email address. The first is <em>standalone</em> which allows you to use the mail client of your choice to send and receive mail. Some popular desktop clients are Mail for Windows 10, Thunderbird
		</p>

		<?php
		if (empty($_POST['password'])) {
		?>
			<h2>Create a mail account</h2>
			<form method="post" action="/tutors/email/index.php#submit">
				<label for="email">Your Carpenter Tutoring email address
					<input type="email" name="email" placeholder="firstnamelastinitial@carpentertutoring.com" pattern=".*@carpentertutoring.com$" required />
				</label>

				<label for="password">Your new Carpenter Tutoring email password
					<input type="password" name="password" minlength="8" placeholder="8 character minimum" required />
				</label>

				<input type="submit" value="View your mail config" />
			</form>
		<?
		}
		?>

		<?php
		if (!empty($_POST['password'])) {
		?>
			<h2 id="submit">Connection details</h2>

			<pre>
SMTP server: mail.53hor.net
Connection security: STARTTLS
Authentication method: normal password
SMTP port: 587
SMTP username: <?php printf($_POST['email']) ?>

Password: use the password you just submitted

IMAP server: mail.53hor.net
Connection security: STARTTLS
Authentication method: normal password
IMAP port: 143
IMAP username: <?php printf($_POST['email']) ?>

Password: use the password you just submitted

</pre>
		<?php
		}
		?>
		<h2>Optional Gmail forwarding</h2>

		<h3>Receiving Mail</h3>

		<p>
			Once your <a href="#">carpentertutoring.com</a> email address is created, you will begin receiving forwarded email in your Gmail inbox.
		</p>

		<h3>Sending mail from Gmail</h3>

		<p>
			Sending mail from your <a href="#">carpentertutoring.com</a> address via Gmail requires a small amount of setup.
		</p>

		<p>

		<ol>
			<li>On your computer, open <a href="https://mail.google.com" target="_blank">Gmail</a>.</li>
			<li>In the top right, click settings (⚙️) and then <em>See all settings</em>.</li>
			<li>Click the <em>Accounts and import</em> or <em>Accounts</em> tab.</li>
			<li>In the "Send mail as" section, click <em>Add another email address</em>.</li>
			<li>Enter your name and the address you want to send from. This will be your <a href="#">carpentertutoring.com</a> address. Leave the "Treat as an alias" box checked.</li>
			<li>Click <em>Next Step</em>.</li>
			<li>For the "SMTP server" enter <em>mail.53hor.net</em>. Select <em>587</em> for the port.</li>
			<li>For the username and password you will enter your new Carpenter Tutoring address (with "@carpentertutoring.com" suffix) and the password you submitted in the previous step.</li>
			<li>Check "Secured connection using TLS (recommended)" and click <em>Add Account</em>.</li>
			<li>Gmail will prompt you to verify your new address. You should receive a confirmation code in your inbox, forwarded from your <a href="#">carpentertutoring.com</a> address. Use it to complete the alias setup.</li>
			<li>Return to the "Send mail as" section on the settings page and look for "When replying to a message." Check "Reply from the same address the message was sent to." This will ensure you respond to tutoring inquiries with your Carpenter Tutoring address and personal mail with your Gmail address.</li>

		</ol>
		</p>
	</div>

</section>

<?php include('../../footer.php'); ?>