mail.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. /* 邮箱服务配置 */
  3. return array (
  4. 'default' => 'smtp',
  5. 'mailers' =>
  6. array (
  7. 'smtp' =>
  8. array (
  9. 'transport' => 'smtp',
  10. 'host' => 'smtp.163.com',
  11. 'port' => '465',
  12. 'encryption' => 'ssl',
  13. 'username' => 'chengchen202209@163.com',
  14. 'password' => 'KYWUVVJALAQUYQDF',
  15. 'timeout' => 10,
  16. 'auth_mode' => NULL,
  17. ),
  18. 'ses' =>
  19. array (
  20. 'transport' => 'ses',
  21. ),
  22. 'mailgun' =>
  23. array (
  24. 'transport' => 'mailgun',
  25. ),
  26. 'postmark' =>
  27. array (
  28. 'transport' => 'postmark',
  29. ),
  30. 'sendmail' =>
  31. array (
  32. 'transport' => 'sendmail',
  33. 'path' => '/usr/sbin/sendmail -bs',
  34. ),
  35. 'log' =>
  36. array (
  37. 'transport' => 'log',
  38. 'channel' => NULL,
  39. ),
  40. 'array' =>
  41. array (
  42. 'transport' => 'array',
  43. ),
  44. ),
  45. 'from' =>
  46. array (
  47. 'address' => 'chengchen202209@163.com',
  48. 'name' => '星链社区',
  49. ),
  50. 'markdown' =>
  51. array (
  52. 'theme' => 'default',
  53. 'paths' =>
  54. array (
  55. 0 => '/usr/local/develop/php/www/waibao/NN2024010801/NN2024010801/resources/views/vendor/mail',
  56. ),
  57. ),
  58. );
  59. ?>