Skip to content

Add UI to configure SMTP settings #258

Closed
@tobyzerner

Description

@tobyzerner

What needs to be done:

  • Create an AdvancedPage in the admin CP and add a link for it in the AdminNav. (Related: SSL support #167)
  • Add fields to allow SMTP config to be saved. Use BasicsPage as an example.

Activity

zedatrix

zedatrix commented on Nov 5, 2015

@zedatrix

How do I setup the email configuration settings? The fields are blobs...

Z0ink5

Z0ink5 commented on Dec 6, 2015

@Z0ink5

The fields are blobs as mentioned by @ethnp - I tried editing them directly but this broke my setup.

pescu25

pescu25 commented on Jan 16, 2016

@pescu25

yes,how?

wa-Nadoo

wa-Nadoo commented on Jan 19, 2016

@wa-Nadoo
riznmage

riznmage commented on Jan 20, 2016

@riznmage

@wa-Nadoo The fields are blob, and can not be edited?

Fresh install from composer today.

wa-Nadoo

wa-Nadoo commented on Jan 20, 2016

@wa-Nadoo
riznmage

riznmage commented on Jan 21, 2016

@riznmage

@wa-Nadoo Well, I'm getting this error: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO config(key, value)...

kerlw

kerlw commented on Jan 24, 2016

@kerlw

@riznmage table 'config' has been renamed to 'settings'(Of course, you need to add your prefix.)

luceos

luceos commented on Jan 24, 2016

@luceos
Member

Please use this issue to discuss the implementation of the UI for configuring the SMTP settings. For questions how to do it without this implementation, use the forums! Or use an SMTP extension from the list.

added this to the 0.1.0 milestone on Apr 7, 2016

5 remaining items

removed this from the 0.1.0 milestone on Apr 17, 2016
added 2 commits that reference this issue on May 12, 2016
dd0dc44
a884a35
vivex

vivex commented on Sep 27, 2016

@vivex

do it supports php mail ?

franzliedke

franzliedke commented on Sep 27, 2016

@franzliedke
Contributor

Hi @vivex, yes, it is possible to configure Flarum to use mail instead of SMTP, however at the moment this is not possible through the user interface. You would have to create a custom extension.

vivex

vivex commented on Sep 27, 2016

@vivex

@franzliedke thanks for quick reply, So if i change mail_drive in DB to mail , will it work ?

franzliedke

franzliedke commented on Sep 27, 2016

@franzliedke
Contributor

You could try that, yes - but I'm not sure what that will do to the admin interface, to be honest. ;)

luceos

luceos commented on Sep 28, 2016

@luceos
Member

Yes you can set mail.driver in the database to mail, you can fill in bogus information in the other fields, it will be ignored (if I'm not mistaken).

tisuchi

tisuchi commented on Nov 19, 2016

@tisuchi

I am using mailgun, but have issue. None of the email is triggering. My configuration is like follows-

mail_driver : mailgun
mail_from : donotreplay-------------.com
mail_host: smtp.mailgun.org
mail_port : 587
mail_username : postmaster@----------.com
mail_password : *************
mail_encryption: null

Can anybody help me?

dsevillamartin

dsevillamartin commented on Nov 19, 2016

@dsevillamartin
Member

@tisuchi This isn't the proper place to discuss this. All the SMTP UI does is set the values into the database. Either your configuration is wrong, or you haven't triggered any events that would send an email.
Please create a discussion at https://discuss.flarum.org for further help.

luceos

luceos commented on Nov 21, 2016

@luceos
Member

@tisuchi you're missing encryption, for 587 it should be tls.

tisuchi

tisuchi commented on Nov 22, 2016

@tisuchi

@luceos

Thanks for you replay. But its not working with encryption too.

luceos

luceos commented on Nov 22, 2016

@luceos
Member

@tisuchi please open a thread on the forums under support so we can track this down more easily.

locked and limited conversation to collaborators on Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @tobyzerner@franzliedke@luceos@kerlw@wa-Nadoo

      Issue actions

        Add UI to configure SMTP settings · Issue #258 · flarum/framework