What needs to be done:
How do I setup the email configuration settings? The fields are blobs...
The fields are blobs as mentioned by @ethnp - I tried editing them directly but this broke my setup.
yes,how?
@pescu25, http://flarum.org/docs/installation/ -> Configuring SMTP
@wa-Nadoo The fields are blob, and can not be edited?
Fresh install from composer today.
@riznmage, use SQL script https://discuss.flarum.org/d/620-smtp-setup/10
@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)...
@riznmage table 'config' has been renamed to 'settings'(Of course, you need to add your prefix.)
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.
Ok, so I'm trying to make this :wink:
Should it be found (the SMTP settings) in the _Basics_ page?
Thanks!
How does datitisev/core#258-smpt-settings-ui look?
The only thing missing would be the locale in flarum/flarum-ext-english
I've tested it, and it works fine; aka it puts the data in the database correctly.
Here is a screenshot:

EDIT: Sorry about the 4 commits instead of 1 馃槥
EDIT 2: I just noticed that you want this in an "Advanced" page. Sorry I didn't do that, but at least there are settings now :wink:
EDIT 3: Updated repo to include new "Advanced" page 馃槂 & Updated screenshot
do it supports php mail ?
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.
@franzliedke thanks for quick reply, So if i change mail_drive in DB to mail , will it work ?
You could try that, yes - but I'm not sure what that will do to the admin interface, to be honest. ;)
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).
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 : [email protected]
mail_password : *************
mail_encryption: null
Can anybody help me?
@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.
@tisuchi you're missing encryption, for 587 it should be tls.
@Luceos
Thanks for you replay. But its not working with encryption too.
@tisuchi please open a thread on the forums under support so we can track this down more easily.
Most helpful comment
@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.