Skip to content

Unable to send emails

Hi. Apologies if this was already addressed and I failed to find the proper answer while looking through past issues.

I've noticed that when I create a new user, no email is forthcoming. I am also aware of the bug where creating a new user while logged in causes the operation to fail, found in a different ticket, and I make sure to work around this one: the accounts do get created.

I also noticed that if I try to recover my password, I will not receive any email either.

I tried replacing Swoosh.Adapters.SMTP with Swossh.Adapters.Logger, :debug level but did not see anything in the log output.

Here is my configuration:

config :pleroma, Pleroma.Emails.Mailer,                                         
  enabled: true,                                                                
  adapter: Swoosh.Adapters.SMTP,                                                
  relay: "smtp.gmail.com",                                                      
  username: "{redacted}",                                                 
  password: "{redacted}",                                                       
  port: 587,                                                                    
  ssl: true,                                                                    
  auth: :always 

Unfortunately, I am a newbie as far as Elixir and am not sure how I could debug this behavior. I did not find any mix task that would help either.

Regards

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information