Advertisement
Guest User

/var/www/firefly-iii/conf/mail.php

a guest
May 10th, 2018
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.96 KB | None | 0 0
  1. <?php
  2. /**
  3. * mail.php
  4. * Copyright (c) 2017 [email protected]
  5. *
  6. * This file is part of Firefly III.
  7. *
  8. * Firefly III is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * Firefly III is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
  20. */
  21. declare(strict_types=1);
  22. return [
  23. /*
  24. |--------------------------------------------------------------------------
  25. | Mail Driver
  26. |--------------------------------------------------------------------------
  27. |
  28. | Laravel supports both SMTP and PHP's "mail" function as drivers for the
  29. | sending of e-mail. You may specify which one you're using throughout
  30. | your application here. By default, Laravel is setup for SMTP mail.
  31. |
  32. | Supported: "smtp", "sendmail", "mailgun", "mandrill", "ses",
  33. | "sparkpost", "log", "array"
  34. |
  35. */
  36. 'driver' => envNonEmpty('MAIL_DRIVER', 'sendmail'),
  37. /*
  38. |--------------------------------------------------------------------------
  39. | SMTP Host Address
  40. |--------------------------------------------------------------------------
  41. |
  42. | Here you may provide the host address of the SMTP server used by your
  43. | applications. A default option is provided that is compatible with
  44. | the Mailgun mail service which will provide reliable deliveries.
  45. |
  46. */
  47. 'host' => env('MAIL_HOST', 'xirgsdomain.com'),
  48. /*
  49. |--------------------------------------------------------------------------
  50. | SMTP Host Port
  51. |--------------------------------------------------------------------------
  52. |
  53. | This is the SMTP port used by your application to deliver e-mails to
  54. | users of the application. Like the host we have set this value to
  55. | stay compatible with the Mailgun e-mail application by default.
  56. |
  57. */
  58. 'port' => env('MAIL_PORT', 2525),
  59. /*
  60. |--------------------------------------------------------------------------
  61. | Global "From" Address
  62. |--------------------------------------------------------------------------
  63. |
  64. | You may wish for all e-mails sent by your application to be sent from
  65. | the same address. Here, you may specify a name and address that is
  66. | used globally for all e-mails that are sent by your application.
  67. |
  68. */
  69. 'from' => ['address' => envNonEmpty('MAIL_FROM', '[email protected]'), 'name' => 'Firefly III Mailer'],
  70. /*
  71. |--------------------------------------------------------------------------
  72. | E-Mail Encryption Protocol
  73. |--------------------------------------------------------------------------
  74. |
  75. | Here you may specify the encryption protocol that should be used when
  76. | the application send e-mail messages. A sensible default using the
  77. | transport layer security protocol should provide great security.
  78. |
  79. */
  80. 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
  81. /*
  82. |--------------------------------------------------------------------------
  83. | SMTP Server Username
  84. |--------------------------------------------------------------------------
  85. |
  86. | If your SMTP server requires a username for authentication, you should
  87. | set it here. This will get used to authenticate with your server on
  88. | connection. You may also set the "password" value below this one.
  89. |
  90. */
  91. 'username' => env('MAIL_USERNAME'),
  92. 'password' => env('MAIL_PASSWORD'),
  93. /*
  94. |--------------------------------------------------------------------------
  95. | Sendmail System Path
  96. |--------------------------------------------------------------------------
  97. |
  98. | When using the "sendmail" driver to send e-mails, we will need to know
  99. | the path to where Sendmail lives on this server. A default path has
  100. | been provided here, which will work well on most of your systems.
  101. |
  102. */
  103. 'sendmail' => '/usr/sbin/sendmail -bs',
  104. /*
  105. |--------------------------------------------------------------------------
  106. | Markdown Mail Settings
  107. |--------------------------------------------------------------------------
  108. |
  109. | If you are using Markdown based email rendering, you may configure your
  110. | theme and component paths here, allowing you to customize the design
  111. | of the emails. Or, you may simply stick with the Laravel defaults!
  112. |
  113. */
  114. 'markdown' => [
  115. 'theme' => 'default',
  116. 'paths' => [
  117. resource_path('views/vendor/mail'),
  118. ],
  119. ],
  120. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement