# Test email setup before the installation is started

**URL:** https://meta.discourse.org/t/test-email-setup-before-the-installation-is-started/303658
**Category:** Feature
**Tags:** email
**Created:** [April 13, 2024, 11:09am UTC](https://meta.discourse.org/t/test-email-setup-before-the-installation-is-started/303658 "2024-04-13T11:09:25Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![wal](https://avatars.discourse-cdn.com/v4/letter/w/d6d6ee/32.png) [@wal](https://meta.discourse.org/u/wal)
#### Post date: [August 7, 2024, 2:49pm UTC](https://meta.discourse.org/t/test-email-setup-before-the-installation-is-started/303658/4 "2024-08-07T14:49:04Z")

</div>

as described in my post here [Install Discourse on Amazon Web Services (AWS) with Lightsail, SES, and Route 53 - #4 by wal](https://meta.discourse.org/t/install-discourse-on-amazon-web-services-aws-with-lightsail-ses-and-route-53/239343/4) I was able to send test emails prior to running the full `discourse-setup` script using this method described here with `telnet`

> <https://serverfault.com/questions/49935/easiest-way-to-send-a-test-email-from-a-server-to-test-settings>

notably, I used port 587 instead of 25 shown there, and you need to be sure to base64 encode your SMTP username and password.

Also linked in that post is a script that AWS provides which shows how to do the same with the `openssl` command (link here; [Creating configuration sets in SES - Amazon Simple Email Service](https://docs.aws.amazon.com/ses/latest/dg/creating-configuration-sets.html) )

if you are not using AWS SES for your email server you may have to tweak the script a little but in general I think one or both of these should be helpful for you to verify email before the installation (this is what I did)

while I agree that there should ideally be a way to test the email prior to installation, I think it may actually be preferable to have it shipped as a separate stand-alone script of some sort with Discourse so that you can run it without having to go through the entire setup process, which can take ~10min

---

_[View the full topic](https://meta.discourse.org/t/test-email-setup-before-the-installation-is-started/303658)._
