summaryrefslogtreecommitdiff
path: root/tutors/email/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'tutors/email/index.php')
-rw-r--r--tutors/email/index.php101
1 files changed, 71 insertions, 30 deletions
diff --git a/tutors/email/index.php b/tutors/email/index.php
index 08139e1..49e430a 100644
--- a/tutors/email/index.php
+++ b/tutors/email/index.php
@@ -1,64 +1,105 @@
+<!--
+ 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>
+ <h1>Email setup</h1>
</section>
<section class="quiet flexible">
<div>
<p>
- This guide is for Gmail users only. While most of this guide will also be applicable to other mail providers, additional steps may be required.
+ 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>
- <h2>Receiving Mail</h2>
-
<p>
- Once your <a href="/">carpentertutoring.com</a> email address is created, you will receive a verification email. In order to receive mail in your personal address from this alias, you will have to click the confirmation link in the verification email. Once complete, you can start receiving mail immediately.
+ 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>
- <h2>Sending Mail</h2>
+ <?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>
- Sending mail from your <a href="/">carpentertutoring.com</a> address requires a small amount of setup.
+ Once your <a href="#">carpentertutoring.com</a> email address is created, you will begin receiving forwarded email in your Gmail inbox.
</p>
- <h3>App Password</h3>
+ <h3>Sending mail from Gmail</h3>
<p>
- Google 2-Step Verification requires you to first generate an App Password for your personal Gmail account. Note that <em>you must have 2-Step Verification turned on for your account in order to forward sent mail to your Carpenter Tutoring alias</em>. You can verify whether you have 2-Step Verification turned on for your Google account by <a href="https://myaccount.google.com/signinoptions/two-step-verification">visiting this link to your Google account settings</a>. If 2-Step Verification is turned off, turn it on and proceed with the following steps.
+ 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://myaccount.google.com/apppasswords" target="_blank">App Passwords</a>.</li>
- <li>In the bottom of the window, click <em>Select app</em> and choose <em>Mail</em> from the list.</li>
- <li>Click <em>Select device</em> and choose <em>Other...</em> and enter "Carpenter Tutoring" in the box.</li>
- <li>Click <em>Generate</em>. You will see 16 letters and numbers in a yellow box. Copy this or write it down for the next step.</li>
- <li>Click <em>Done</em>. Keep in mind you will not be able to see the App Password anymore. If you forget it before the next step, you will have to create a new one.</li>
- </ol>
- </p>
-
- <p>
-
- <h3>Mail forwarding</h3>
<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>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>smtp.gmail.com</em>. Select <em>465</em> for the port.</li>
- <li>For the username and password you will enter your personal Gmail address (with "@gmail.com" suffix) and the App Password you generated in the previous step.</li>
- <li>Check "Secured connection using SSL (recommended)" and click <em>Add Account</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>
+ </ol>
</p>
-
- <p>Now you should be able to immediately send mail as your Carpenter Tutoring alias. To test this, compose a new message an check the "From" box. You should see a menu there where you can choose which address to send mail from.</p>
-
- <p>Thank you for being a part of Carpenter Tutoring!</p>
</div>
</section>