config.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?php
  2. return array (
  3. 0 =>
  4. array (
  5. 'name' => 'mail_type',
  6. 'title' => '邮件发送模式',
  7. 'type' => 'radio',
  8. 'options' =>
  9. array (
  10. 1 => 'SMTP',
  11. 2 => 'Mail',
  12. ),
  13. 'value' => '1',
  14. ),
  15. 1 =>
  16. array (
  17. 'name' => 'mail_smtp_host',
  18. 'title' => '邮件服务器',
  19. 'type' => 'text',
  20. 'value' => 'smtp.163.com',
  21. 'tip' => '错误的配置发送邮件会导致服务器超时',
  22. ),
  23. 2 =>
  24. array (
  25. 'name' => 'mail_smtp_port',
  26. 'title' => '邮件发送端口',
  27. 'type' => 'text',
  28. 'value' => '465',
  29. 'tip' => '不加密默认25,SSL默认465,TLS默认587',
  30. ),
  31. 3 =>
  32. array (
  33. 'name' => 'mail_auth',
  34. 'title' => '身份认证',
  35. 'type' => 'radio',
  36. 'options' =>
  37. array (
  38. 0 => '关闭',
  39. 1 => '开启',
  40. ),
  41. 'value' => '1',
  42. ),
  43. 4 =>
  44. array (
  45. 'name' => 'mail_smtp_user',
  46. 'title' => '用户名',
  47. 'type' => 'text',
  48. 'value' => 'dzliujinbo@163.com',
  49. 'tip' => '',
  50. ),
  51. 5 =>
  52. array (
  53. 'name' => 'mail_smtp_pass',
  54. 'title' => '密码',
  55. 'type' => 'text',
  56. 'value' => 'PXyJBcRutfhmKFMa',
  57. 'tip' => '注意不是邮箱密码,是授权码',
  58. ),
  59. 6 =>
  60. array (
  61. 'name' => 'mail_verify_type',
  62. 'title' => '验证方式',
  63. 'type' => 'radio',
  64. 'options' =>
  65. array (
  66. 1 => 'TLS',
  67. 2 => 'SSL',
  68. ),
  69. 'value' => '2',
  70. ),
  71. 7 =>
  72. array (
  73. 'name' => 'mail_from',
  74. 'title' => '发件人邮箱',
  75. 'type' => 'text',
  76. 'value' => 'dzliujinbo@163.com',
  77. 'tip' => '',
  78. ),
  79. );