Guest User

Untitled

a guest
Jul 15th, 2018
614
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. MAIL_DRIVER=smtp
  2. MAIL_HOST=192.108.24.106
  3. MAIL_PORT=465
  4. MAIL_USERNAME=preregistro
  5. MAIL_PASSWORD=123456
  6. MAIL_ENCRYPTION=tls
  7.  
  8. PUSHER_APP_ID=534863
  9. PUSHER_APP_KEY=9027064a8cd714a78e60
  10. PUSHER_APP_SECRET=9bf48118ecbe55b0b5f9
  11. PUSHER_APP_CLUSTER=us2
  12.  
  13. MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
  14. MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
  15.  
  16. <?php
  17.  
  18. return [
  19.  
  20. /*
  21. |--------------------------------------------------------------------------
  22. | Mail Driver
  23. |--------------------------------------------------------------------------
  24. |
  25. | Laravel supports both SMTP and PHP's "mail" function as drivers for the
  26. | sending of e-mail. You may specify which one you're using throughout
  27. | your application here. By default, Laravel is setup for SMTP mail.
  28. |
  29. | Supported: "smtp", "sendmail", "mailgun", "mandrill", "ses",
  30. | "sparkpost", "log", "array"
  31. |
  32. */
  33.  
  34. 'driver' => env('MAIL_DRIVER', 'smtp'),
  35.  
  36. /*
  37. |--------------------------------------------------------------------------
  38. | SMTP Host Address
  39. |--------------------------------------------------------------------------
  40. |
  41. | Here you may provide the host address of the SMTP server used by your
  42. | applications. A default option is provided that is compatible with
  43. | the Mailgun mail service which will provide reliable deliveries.
  44. |
  45. */
  46.  
  47. 'host' => env('MAIL_HOST', 'preregistro@email.com'),
  48.  
  49. /*
  50. |--------------------------------------------------------------------------
  51. | SMTP Host Port
  52. |--------------------------------------------------------------------------
  53. |
  54. | This is the SMTP port used by your application to deliver e-mails to
  55. | users of the application. Like the host we have set this value to
  56. | stay compatible with the Mailgun e-mail application by default.
  57. |
  58. */
  59.  
  60. 'port' => env('MAIL_PORT', 465),
  61.  
  62. /*
  63. |--------------------------------------------------------------------------
  64. | Global "From" Address
  65. |--------------------------------------------------------------------------
  66. |
  67. | You may wish for all e-mails sent by your application to be sent from
  68. | the same address. Here, you may specify a name and address that is
  69. | used globally for all e-mails that are sent by your application.
  70. |
  71. */
  72.  
  73. 'from' => [
  74. 'address' => env('MAIL_FROM_ADDRESS', 'preregistro@email.com'),
  75. 'name' => env('MAIL_FROM_NAME', 'empresa'),
  76. 'subject' => env('MAIL_FROM_SUBJECT', 'Preregistro'),
  77.  
  78.  
  79. ],
  80.  
  81. /*
  82. |--------------------------------------------------------------------------
  83. | E-Mail Encryption Protocol
  84. |--------------------------------------------------------------------------
  85. |
  86. | Here you may specify the encryption protocol that should be used when
  87. | the application send e-mail messages. A sensible default using the
  88. | transport layer security protocol should provide great security.
  89. |
  90. */
  91.  
  92. 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
  93.  
  94. /*
  95. |--------------------------------------------------------------------------
  96. | SMTP Server Username
  97. |--------------------------------------------------------------------------
  98. |
  99. | If your SMTP server requires a username for authentication, you should
  100. | set it here. This will get used to authenticate with your server on
  101. | connection. You may also set the "password" value below this one.
  102. |
  103. */
  104.  
  105. 'username' => env('MAIL_USERNAME'),
  106.  
  107. 'password' => env('MAIL_PASSWORD'),
  108.  
  109. /*
  110. |--------------------------------------------------------------------------
  111. | Sendmail System Path
  112. |--------------------------------------------------------------------------
  113. |
  114. | When using the "sendmail" driver to send e-mails, we will need to know
  115. | the path to where Sendmail lives on this server. A default path has
  116. | been provided here, which will work well on most of your systems.
  117. |
  118. */
  119.  
  120. 'sendmail' => '/usr/sbin/sendmail -bs',
  121.  
  122. /*
  123. |--------------------------------------------------------------------------
  124. | Markdown Mail Settings
  125. |--------------------------------------------------------------------------
  126. |
  127. | If you are using Markdown based email rendering, you may configure your
  128. | theme and component paths here, allowing you to customize the design
  129. | of the emails. Or, you may simply stick with the Laravel defaults!
  130. |
  131. */
  132.  
  133. 'markdown' => [
  134. 'theme' => 'default',
  135.  
  136. 'paths' => [
  137. resource_path('views/vendor/mail'),
  138. ],
  139. ],
  140. 'stream' => [
  141. 'ssl' => [
  142. // 'allow_self_signed' => true,
  143. 'verify_peer' => false,
  144. 'verify_peer_name' => false,
  145. ],
  146. ],
  147.  
  148. ];
Add Comment
Please, Sign In to add comment