mail.php 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?php
  2. return [
  3. 'pretend' => true,
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Mail Driver
  7. |--------------------------------------------------------------------------
  8. |
  9. | Laravel supports both SMTP and PHP's "mail" function as drivers for the
  10. | sending of e-mail. You may specify which one you're using throughout
  11. | your application here. By default, Laravel is setup for SMTP mail.
  12. |
  13. | Supported: "smtp", "mail", "sendmail", "mailgun", "mandrill", "ses", "log"
  14. |
  15. */
  16. 'driver' => env('MAIL_DRIVER', 'smtp'),
  17. /*
  18. |--------------------------------------------------------------------------
  19. | SMTP Host Address
  20. |--------------------------------------------------------------------------
  21. |
  22. | Here you may provide the host address of the SMTP server used by your
  23. | applications. A default option is provided that is compatible with
  24. | the Mailgun mail service which will provide reliable deliveries.
  25. |
  26. */
  27. 'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
  28. /*
  29. |--------------------------------------------------------------------------
  30. | SMTP Host Port
  31. |--------------------------------------------------------------------------
  32. |
  33. | This is the SMTP port used by your application to deliver e-mails to
  34. | users of the application. Like the host we have set this value to
  35. | stay compatible with the Mailgun e-mail application by default.
  36. |
  37. */
  38. 'port' => env('MAIL_PORT', 587),
  39. /*
  40. |--------------------------------------------------------------------------
  41. | Global "From" Address
  42. |--------------------------------------------------------------------------
  43. |
  44. | You may wish for all e-mails sent by your application to be sent from
  45. | the same address. Here, you may specify a name and address that is
  46. | used globally for all e-mails that are sent by your application.
  47. |
  48. */
  49. 'from' => ['address' => env('MAIL_FROM'), 'name' => env('MAIL_NAME')],
  50. 'contact_email' => 'alice.millour@abtela.eu',
  51. /*
  52. |--------------------------------------------------------------------------
  53. | E-Mail Encryption Protocol
  54. |--------------------------------------------------------------------------
  55. |
  56. | Here you may specify the encryption protocol that should be used when
  57. | the application send e-mail messages. A sensible default using the
  58. | transport layer security protocol should provide great security.
  59. |
  60. */
  61. 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
  62. /*
  63. |--------------------------------------------------------------------------
  64. | SMTP Server Username
  65. |--------------------------------------------------------------------------
  66. |
  67. | If your SMTP server requires a username for authentication, you should
  68. | set it here. This will get used to authenticate with your server on
  69. | connection. You may also set the "password" value below this one.
  70. |
  71. */
  72. 'username' => env('MAIL_USERNAME'),
  73. /*
  74. |--------------------------------------------------------------------------
  75. | SMTP Server Password
  76. |--------------------------------------------------------------------------
  77. |
  78. | Here you may set the password required by your SMTP server to send out
  79. | messages from your application. This will be given to the server on
  80. | connection so that the application will be able to send messages.
  81. |
  82. */
  83. 'password' => env('MAIL_PASSWORD'),
  84. /*
  85. |--------------------------------------------------------------------------
  86. | Sendmail System Path
  87. |--------------------------------------------------------------------------
  88. |
  89. | When using the "sendmail" driver to send e-mails, we will need to know
  90. | the path to where Sendmail lives on this server. A default path has
  91. | been provided here, which will work well on most of your systems.
  92. |
  93. */
  94. 'sendmail' => '/usr/sbin/sendmail -bs',
  95. ];