瀏覽代碼

发送email修改

kevin 1 年之前
父節點
當前提交
8fb5357d51
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      common/config/main.php

+ 4 - 1
common/config/main.php

@@ -74,7 +74,10 @@ return [
             ],
             'messageConfig' => [
                 'charset' => 'UTF-8',
-                'from' => ['eshop-noreply@elken.com' => 'elken']
+                'from' => [
+                    'address' => 'eshop-noreply@elken.com',
+                    'name' => 'elken'
+                ]
             ],
         ],
         'swooleAsyncTimer' => [