mail.php 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?php
  2. return array(
  3. /*
  4. |--------------------------------------------------------------------------
  5. | SMTP Host Address
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here you may provide the host address of the SMTP server used by your
  9. | applications. A default option is provided that is compatible with
  10. | the Postmark mail service, which will provide reliable delivery.
  11. |
  12. */
  13. 'host' => 'smtp.postmarkapp.com',
  14. /*
  15. |--------------------------------------------------------------------------
  16. | SMTP Host Port
  17. |--------------------------------------------------------------------------
  18. |
  19. | This is the SMTP port used by your application to delivery e-mails to
  20. | users of your application. Like the host we have set this value to
  21. | stay compatible with the Postmark e-mail application by default.
  22. |
  23. */
  24. 'port' => 2525,
  25. /*
  26. |--------------------------------------------------------------------------
  27. | Global "From" Address
  28. |--------------------------------------------------------------------------
  29. |
  30. | You may wish for all e-mails sent by your application to be sent from
  31. | the same address. Here, you may specify a name and address that is
  32. | used globally for all e-mails that are sent by your application.
  33. |
  34. */
  35. 'from' => array('address' => null, 'name' => null),
  36. /*
  37. |--------------------------------------------------------------------------
  38. | E-Mail Encryption Protocol
  39. |--------------------------------------------------------------------------
  40. |
  41. | Here you may specify the encryption protocol that should be used when
  42. | the application send e-mail messages. A sensible default using the
  43. | transport layer security protocol should provide great security.
  44. |
  45. */
  46. 'encryption' => 'tls',
  47. /*
  48. |--------------------------------------------------------------------------
  49. | SMTP Server Username
  50. |--------------------------------------------------------------------------
  51. |
  52. | If your SMTP server requires a username for authentication, you should
  53. | set it here. This will get used to authenticate with your server on
  54. | connection. You may also set the "password" value below this one.
  55. |
  56. */
  57. 'username' => null,
  58. /*
  59. |--------------------------------------------------------------------------
  60. | SMTP Server Password
  61. |--------------------------------------------------------------------------
  62. |
  63. | Here you may set the password required by your SMTP server to send out
  64. | messages from your application. This will be given to the server on
  65. | connection so that the application will be able to send messages.
  66. |
  67. */
  68. 'password' => null,
  69. );