We have setup our own selfhosted forem on a digital ocean droplet. I have created a sendgrid free plan and set all the settings as below
When a...
For further actions, you may consider blocking this person and/or reporting abuse
I would suggest you confirm your SMTP details via this SMTP testing tool
.env
fileDigital ocean is just a platform to provide computational power, it has nothing to do with email services. In fact, Leewardslope is an SMTP configured Forem on Digital Ocean.
SMTP test is successful. now question is forem is installed in docker and where is the .env file exactly ?
forem.dev/remoteimages/uploads/art...
I suspect that this issue is not DigitalOcean-specific. Not sure what the answer is, but looking forward to finding out.
The major issue regarding the email was
default email-id
First of all, every Forem admin should create their own default email id via the
.env
file. (no support to configure this via the Forem admin panel)Secondly and one of the unchecked part by the Admins was, that they are not creating a sender mail based on the above mentioned
default email-id
; this causes certain issues, like => even though the authentication details were correct, the email-sender-providor, don't know the sender email.This problem can be removed in two ways, and these two solution are offered by almost every email services provider.
Resolved: Unable to unset SMTP and configure SMTP properly
Akhil Naidu γ» Jul 13 γ» 2 min read
Within this post, at the end, I added some info on
How to resolve SMTP issues
, it also contain a 3rd party SMTP testing tool for users to check whether the issue is related to Forem or with the email authentication.What @akhil said. @benjaminb is the email address you're using to send/receive via Sendgrid the same as the
default_email
you set ininventory/forem/setup.yml
?If not, you'll need to follow the steps in Akhil's post to dig into your environment variables, or else make those changes to your
setup.yml
and re-run the Ansible Playbook to reinstall your Forem with the correct Admin email:This isn't necessary if the correct email is set in Step 6 in the Self-host Quick Start, but you're right that there's no way to make that change from the UI.
I followed Akhil's youtube video to install forem but i have searched "inventory" folder and "forem" folder and also searched "setup.yml" file on my instance no return.
I dont know where to find this files to make correct configuration for ENV file. also there is no .env file setup duirng Akhil's installation video.
Oh, sorry if that was unclear. I was referring to @akhil 's post here.
Edit: If you didn't use the Forem Self-host instructions to install your Forem, then things might be a little different for you. It's harder for us to offer advice if you're off the beaten path, which is why we try to guide everyone to using our tools as they're currently set up.
Your Forem will have a
default_email
specified somewhere, so maybe search for that?At the end of the video, you can see I added an ENV variable using the script. In your case the ENV variable for setting email-id was
DEFAULT_EMAIL
I have solved all the issues. I am going to make a video and show how i solved the SMTP issue. I think it would help a lot of people. Wait for it.
For authentication, can you try "plain" instead of "login" and see if that works?
nope it does not help.