バージョン選択

フォーラム

メニュー

オンライン状況

40 人のユーザが現在オンラインです。 (32 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 40
もっと...

サイト内検索

質問 > その他 > モバイル 会員登録完了メールがPC用が届く

その他

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
che
投稿日時: 2010/4/13 12:27
対応状況: −−−
半人前
登録日: 2009/11/27
居住地:
投稿: 27
Re: モバイル 会員登録完了メールがPC用が届く
------------------------------------------
EC- CUBEバージョン 2.4.2
PHP バージョン PHP 5.2.9
DBバージョン PostgreSQL 8.4.2
------------------------------------------

自分の環境でもこの現象でました。

取り急ぎ以下のやり方で対応しました。



Index: LC_Page_Regist.php
===================================================================
--- LC_Page_Regist.php	(E??CO 188)
+++ LC_Page_Regist.php	(E??CO 189)
@@ -81,7 +81,7 @@
 
             } else {
                 $registSecretKey = $this->lfRegistData($_GET);			//本会員登録(フラグ変更)
-                $this->lfSendRegistMail($registSecretKey);				//本会員登録完了メール送信
+                $this->lfSendRegistMail($registSecretKey, false);				//本会員登録完了メール送信
 
                 // ログイン済みの状態にする。
                 $objQuery = new SC_Query();
@@ -136,7 +136,7 @@
 
             } else {
                 $registSecretKey = $this->lfRegistData($_GET);			//本会員登録(フラグ変更)
-                $this->lfSendRegistMail($registSecretKey);				//本会員登録完了メール送信
+                $this->lfSendRegistMail($registSecretKey, true);				//本会員登録完了メール送信
 
                 // ログイン済みの状態にする。
                 $objQuery = new SC_Query();
@@ -259,7 +259,7 @@
     }
 
     //---- 正会員登録完了メール送信
-    function lfSendRegistMail($registSecretKey) {
+    function lfSendRegistMail($registSecretKey, $mobile) {
         $objQuery = new SC_Query();
         $objHelperMail = new SC_Helper_Mail_Ex();
 
@@ -273,7 +273,11 @@
         $objMailText->assign("CONF", $this->CONF);
         $objMailText->assign("name01", $data["name01"]);
         $objMailText->assign("name02", $data["name02"]);
-        $toCustomerMail = $objMailText->fetch("mail_templates/customer_regist_mail.tpl");
+        if ( $mobile ) {
+        	$toCustomerMail = $objMailText->fetch("mobile/mail_templates/customer_regist_mail.tpl");
+        } else {
+        	$toCustomerMail = $objMailText->fetch("mail_templates/customer_regist_mail.tpl");
+        }
         $subject = $objHelperMail->sfMakesubject($objQuery, $objMailText, $this, '会員登録が完了しました。');
         $objMail = new SC_SendMail();
 



これがいい方法なのかわからないですが・・・
自分の環境だと問題なく動いてますね。
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   モバイル 会員登録完了メールがPC用が届く ゲスト 2010/2/5 17:02
     Re: モバイル 会員登録完了メールがPC用が届く DELIGHT 2010/2/8 14:30
       Re: モバイル 会員登録完了メールがPC用が届く ゲスト 2010/2/8 20:44
         Re: モバイル 会員登録完了メールがPC用が届く DELIGHT 2010/2/9 15:00
           Re: モバイル 会員登録完了メールがPC用が届く ゲスト 2010/2/10 14:39
             Re: モバイル 会員登録完了メールがPC用が届く seasoft 2010/2/13 19:08
               Re: モバイル 会員登録完了メールがPC用が届く ゲスト 2010/2/15 16:45
               » Re: モバイル 会員登録完了メールがPC用が届く che 2010/4/13 12:27

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,962名です
総投稿数は110,019件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1296
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.