💌
Configure mail server
To configure your mail serveur with Twake.
Here is the default mail block in the configuration file to edit (from Parameters.php, see "Configuration page"):
1
"mail" => [
2
"sender" => [
3
"host" => "", //smtp server
4
"port" => "",
5
"username" => "",
6
"password" => "",
7
"auth_mode" => "plain" //plain, login, cram-md5, or null
8
],
9
"from" => "[email protected]",
10
"dkim" => [ //Optional, to avoid lost emails, configure your dns with dkim
11
"private_key" => "",
12
"domain_name" => '',
13
"selector" => ''
14
],
15
"twake_domain_url" => "https://twakeapp.com/",
16
"from_name" => "Twake", //Server owner name
17
"twake_address" => "Twake, 54000 Nancy, France", //Server owner address
18
"template_dir" => "/src/Twake/Core/Resources/views/", //Must not be modified
19
],
Copied!
⚠️ Once edited, don't forget to restart docker.
You can test the good behaviour of emails going into your account parameters, emails, add a secondary email. Or simply try to invite a user using its email.
Last modified 1yr ago
Copy link