Commit bb9cdc57b83f191e34ec1ad1afc3e14d2605f418

Authored by EC2 Default User
2 parents 43fd81c3 6f14115e
@@ -15,6 +15,7 @@ include("./include/session_start.inc"); @@ -15,6 +15,7 @@ include("./include/session_start.inc");
15 include("./include/SessionChk2.inc"); 15 include("./include/SessionChk2.inc");
16 include("./include/jcode.phps"); 16 include("./include/jcode.phps");
17 include("./include/mime.php"); 17 include("./include/mime.php");
  18 +include("./include/mtcnews.inc");
18 19
19 //********** 接続処理 **********// 20 //********** 接続処理 **********//
20 include("./include/dbcon2.inc"); 21 include("./include/dbcon2.inc");
@@ -95,7 +96,7 @@ $strComment .= "\n"; @@ -95,7 +96,7 @@ $strComment .= "\n";
95 $strComment = jcodeconvert($strComment, 1, 3); 96 $strComment = jcodeconvert($strComment, 1, 3);
96 97
97 $Header1 = ""; 98 $Header1 = "";
98 -$Headers['From']=$strSubmitAdd; 99 +$Headers['From']=$NOREPLY_ADDR;
99 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 100 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
100 //PEARのmimeクラス設定 101 //PEARのmimeクラス設定
101 $mime = new Mail_mime("\r\n"); 102 $mime = new Mail_mime("\r\n");
@@ -109,7 +110,7 @@ $Headers = $mime->headers($Headers); @@ -109,7 +110,7 @@ $Headers = $mime->headers($Headers);
109 while (list($key,$val)=each($Headers)) { 110 while (list($key,$val)=each($Headers)) {
110 $Header1 .= $key.": ".$val."\r\n"; 111 $Header1 .= $key.": ".$val."\r\n";
111 } 112 }
112 -$intBool2 = mail($strToMob,$strSubject,$strComment,$Header1,"-f ".$strSubmitAdd);//登録者に送信 113 +$intBool2 = mail($strToMob,$strSubject,$strComment,$Header1,"-f ".$NOREPLY_ADDR);//登録者に送信
113 if(!$intBool2){ 114 if(!$intBool2){
114 echo("メール送信に失敗しました。<tr>"); 115 echo("メール送信に失敗しました。<tr>");
115 echo "宛先:".$strToMob."<BR>"; 116 echo "宛先:".$strToMob."<BR>";
@@ -127,7 +128,7 @@ $Subject_name = "め〜るNiポン ポイント申し込みがありました"; @@ -127,7 +128,7 @@ $Subject_name = "め〜るNiポン ポイント申し込みがありました";
127 $strSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($Subject_name, 0, 3)) . "?="; 128 $strSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($Subject_name, 0, 3)) . "?=";
128 $str = "団体名:".$PHP_POST_DB_USER_NAME."\n\n"; 129 $str = "団体名:".$PHP_POST_DB_USER_NAME."\n\n";
129 $strComment = jcodeconvert($str, 1, 3).$strComment; 130 $strComment = jcodeconvert($str, 1, 3).$strComment;
130 -$intBool2 = mail($strToMob,$strSubject,$strComment,$Header1,"-f ".$strSubmitAdd);//登録者に送信 131 +$intBool2 = mail($strToMob,$strSubject,$strComment,$Header1,"-f ".$NOREPLY_ADDR);//登録者に送信
131 if(!$intBool2){ 132 if(!$intBool2){
132 echo("メール送信に失敗しました。<tr>"); 133 echo("メール送信に失敗しました。<tr>");
133 echo "宛先:".$strToMob."<BR>"; 134 echo "宛先:".$strToMob."<BR>";
@@ -145,7 +145,7 @@ $Contents = $objData->contents; @@ -145,7 +145,7 @@ $Contents = $objData->contents;
145 $Send_type = $objData->send_type; 145 $Send_type = $objData->send_type;
146 146
147 $Header1 = ""; 147 $Header1 = "";
148 -$Headers['From']=$strSubmitAdd; 148 +$Headers['From']=$NOREPLY_ADDR;
149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
150 150
151 //********** 未読者取得 **********// 151 //********** 未読者取得 **********//
@@ -209,7 +209,7 @@ $strComment = ""; @@ -209,7 +209,7 @@ $strComment = "";
209 209
210 if($Send_type==0 || $Send_type==1){ 210 if($Send_type==0 || $Send_type==1){
211 if($strToMob!=""){ 211 if($strToMob!=""){
212 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 212 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
213 }else{ 213 }else{
214 $intBool2 = true; 214 $intBool2 = true;
215 } 215 }
@@ -231,7 +231,7 @@ $strComment = ""; @@ -231,7 +231,7 @@ $strComment = "";
231 231
232 if($Send_type==0 || $Send_type==2){ 232 if($Send_type==0 || $Send_type==2){
233 if($strTo!=""){ 233 if($strTo!=""){
234 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC, $Header,"-f ".$strSubmitAdd);//PCに送信 234 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3), $Header,"-f ".$NOREPLY_ADDR);//PCに送信
235 }else{ 235 }else{
236 $intBool = true; 236 $intBool = true;
237 } 237 }
@@ -145,7 +145,7 @@ $Contents = $objData->contents; @@ -145,7 +145,7 @@ $Contents = $objData->contents;
145 $Send_type = $objData->send_type; 145 $Send_type = $objData->send_type;
146 146
147 $Header1 = ""; 147 $Header1 = "";
148 -$Headers['From']=$strSubmitAdd; 148 +$Headers['From']=$NOREPLY_ADDR;
149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
150 150
151 //********** 選択者取得 **********// 151 //********** 選択者取得 **********//
@@ -213,7 +213,7 @@ $strComment = ""; @@ -213,7 +213,7 @@ $strComment = "";
213 213
214 if($Send_type==0 || $Send_type==1){ 214 if($Send_type==0 || $Send_type==1){
215 if($strToMob!=""){ 215 if($strToMob!=""){
216 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 216 + $intbool2 = mail($strtomob,$strsubject,$strcomment.$comment_tel.$koukokutel.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);
217 }else{ 217 }else{
218 $intBool2 = true; 218 $intBool2 = true;
219 } 219 }
@@ -235,7 +235,7 @@ $strComment = ""; @@ -235,7 +235,7 @@ $strComment = "";
235 235
236 if($Send_type==0 || $Send_type==2){ 236 if($Send_type==0 || $Send_type==2){
237 if($strTo!=""){ 237 if($strTo!=""){
238 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC, $Header,"-f ".$strSubmitAdd);//PCに送信 238 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3), $Header,"-f ".$NOREPLY_ADDR);
239 }else{ 239 }else{
240 $intBool = true; 240 $intBool = true;
241 } 241 }
@@ -144,7 +144,7 @@ $Contents = $objData->contents; @@ -144,7 +144,7 @@ $Contents = $objData->contents;
144 $Send_type = $objData->send_type; 144 $Send_type = $objData->send_type;
145 145
146 $Header1 = ""; 146 $Header1 = "";
147 -$Headers['From']=$strSubmitAdd; 147 +$Headers['From']=$NOREPLY_ADDR;
148 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 148 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
149 149
150 //********** 選択者取得 **********// 150 //********** 選択者取得 **********//
@@ -245,7 +245,7 @@ for ($intI = 0 ; $intI < count($User_List)-1 ; $intI++) { @@ -245,7 +245,7 @@ for ($intI = 0 ; $intI < count($User_List)-1 ; $intI++) {
245 245
246 if($Send_type==0 || $Send_type==1){ 246 if($Send_type==0 || $Send_type==1){
247 if($strToMob!=""){ 247 if($strToMob!=""){
248 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 248 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
249 }else{ 249 }else{
250 $intBool2 = true; 250 $intBool2 = true;
251 } 251 }
@@ -267,7 +267,7 @@ for ($intI = 0 ; $intI < count($User_List)-1 ; $intI++) { @@ -267,7 +267,7 @@ for ($intI = 0 ; $intI < count($User_List)-1 ; $intI++) {
267 267
268 if($Send_type==0 || $Send_type==2){ 268 if($Send_type==0 || $Send_type==2){
269 if($strTo!=""){ 269 if($strTo!=""){
270 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC, $Header,"-f ".$strSubmitAdd);//PCに送信 270 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3), $Header,"-f ".$NOREPLY_ADDR);//PCに送信
271 }else{ 271 }else{
272 $intBool = true; 272 $intBool = true;
273 } 273 }
@@ -145,7 +145,7 @@ $Contents = $objData->contents; @@ -145,7 +145,7 @@ $Contents = $objData->contents;
145 $Send_type = $objData->send_type; 145 $Send_type = $objData->send_type;
146 146
147 $Header1 = ""; 147 $Header1 = "";
148 -$Headers['From']=$strSubmitAdd; 148 +$Headers['From']=$NOREPLY_ADDR;
149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
150 150
151 //********** 未読者取得 **********// 151 //********** 未読者取得 **********//
@@ -210,7 +210,7 @@ $strComment = ""; @@ -210,7 +210,7 @@ $strComment = "";
210 210
211 if($Send_type==0 || $Send_type==1){ 211 if($Send_type==0 || $Send_type==1){
212 if($strToMob!=""){ 212 if($strToMob!=""){
213 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 213 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
214 }else{ 214 }else{
215 $intBool2 = true; 215 $intBool2 = true;
216 } 216 }
@@ -232,7 +232,7 @@ $strComment = ""; @@ -232,7 +232,7 @@ $strComment = "";
232 232
233 if($Send_type==0 || $Send_type==2){ 233 if($Send_type==0 || $Send_type==2){
234 if($strTo!=""){ 234 if($strTo!=""){
235 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC, $Header,"-f ".$strSubmitAdd);//PCに送信 235 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3), $Header,"-f ".$NOREPLY_ADDR);//PCに送信
236 }else{ 236 }else{
237 $intBool = true; 237 $intBool = true;
238 } 238 }
@@ -145,7 +145,7 @@ $Contents = $objData->contents; @@ -145,7 +145,7 @@ $Contents = $objData->contents;
145 $Send_type = $objData->send_type; 145 $Send_type = $objData->send_type;
146 146
147 $Header1 = ""; 147 $Header1 = "";
148 -$Headers['From']=$strSubmitAdd; 148 +$Headers['From']=$NOREPLY_ADDR;
149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
150 150
151 //********** 選択者取得 **********// 151 //********** 選択者取得 **********//
@@ -213,7 +213,7 @@ $strComment = ""; @@ -213,7 +213,7 @@ $strComment = "";
213 213
214 if($Send_type==0 || $Send_type==1){ 214 if($Send_type==0 || $Send_type==1){
215 if($strToMob!=""){ 215 if($strToMob!=""){
216 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 216 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
217 }else{ 217 }else{
218 $intBool2 = true; 218 $intBool2 = true;
219 } 219 }
@@ -235,7 +235,7 @@ $strComment = ""; @@ -235,7 +235,7 @@ $strComment = "";
235 235
236 if($Send_type==0 || $Send_type==2){ 236 if($Send_type==0 || $Send_type==2){
237 if($strTo!=""){ 237 if($strTo!=""){
238 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC, $Header,"-f ".$strSubmitAdd);//PCに送信 238 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3), $Header,"-f ".$NOREPLY_ADDR);//PCに送信
239 }else{ 239 }else{
240 $intBool = true; 240 $intBool = true;
241 } 241 }
@@ -145,7 +145,7 @@ $Contents = $objData->contents; @@ -145,7 +145,7 @@ $Contents = $objData->contents;
145 $Send_type = $objData->send_type; 145 $Send_type = $objData->send_type;
146 146
147 $Header1 = ""; 147 $Header1 = "";
148 -$Headers['From']=$strSubmitAdd; 148 +$Headers['From']=$NOREPLY_ADDR;
149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
150 150
151 //********** 未読者取得 **********// 151 //********** 未読者取得 **********//
@@ -210,7 +210,7 @@ $strComment = ""; @@ -210,7 +210,7 @@ $strComment = "";
210 210
211 if($Send_type==0 || $Send_type==1){ 211 if($Send_type==0 || $Send_type==1){
212 if($strToMob!=""){ 212 if($strToMob!=""){
213 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 213 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
214 }else{ 214 }else{
215 $intBool2 = true; 215 $intBool2 = true;
216 } 216 }
@@ -232,7 +232,7 @@ $strComment = ""; @@ -232,7 +232,7 @@ $strComment = "";
232 232
233 if($Send_type==0 || $Send_type==2){ 233 if($Send_type==0 || $Send_type==2){
234 if($strTo!=""){ 234 if($strTo!=""){
235 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC, $Header,"-f ".$strSubmitAdd);//PCに送信 235 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3), $Header,"-f ".$NOREPLY_ADDR);//PCに送信
236 }else{ 236 }else{
237 $intBool = true; 237 $intBool = true;
238 } 238 }
@@ -145,7 +145,7 @@ $Contents = $objData->contents; @@ -145,7 +145,7 @@ $Contents = $objData->contents;
145 $Send_type = $objData->send_type; 145 $Send_type = $objData->send_type;
146 146
147 $Header1 = ""; 147 $Header1 = "";
148 -$Headers['From']=$strSubmitAdd; 148 +$Headers['From']=$NOREPLY_ADDR;
149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 149 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
150 150
151 //********** 選択者取得 **********// 151 //********** 選択者取得 **********//
@@ -213,7 +213,7 @@ $strComment = ""; @@ -213,7 +213,7 @@ $strComment = "";
213 213
214 if($Send_type==0 || $Send_type==1){ 214 if($Send_type==0 || $Send_type==1){
215 if($strToMob!=""){ 215 if($strToMob!=""){
216 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 216 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
217 }else{ 217 }else{
218 $intBool2 = true; 218 $intBool2 = true;
219 } 219 }
@@ -235,7 +235,7 @@ $strComment = ""; @@ -235,7 +235,7 @@ $strComment = "";
235 235
236 if($Send_type==0 || $Send_type==2){ 236 if($Send_type==0 || $Send_type==2){
237 if($strTo!=""){ 237 if($strTo!=""){
238 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC, $Header,"-f ".$strSubmitAdd);//PCに送信 238 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3), $Header,"-f ".$NOREPLY_ADDR);//PCに送信
239 }else{ 239 }else{
240 $intBool = true; 240 $intBool = true;
241 } 241 }
@@ -197,7 +197,7 @@ if($objRecSet==false){ @@ -197,7 +197,7 @@ if($objRecSet==false){
197 } 197 }
198 198
199 $Header1 = ""; 199 $Header1 = "";
200 -$Headers['From']=$strSubmitAdd; 200 +$Headers['From']=$NOREPLY_ADDR;
201 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 201 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
202 $logFrom = array(); //log配列初期化 202 $logFrom = array(); //log配列初期化
203 $logTo = array(); 203 $logTo = array();
@@ -303,7 +303,7 @@ for($i=0;$i<count($User_List)-1;$i++){ @@ -303,7 +303,7 @@ for($i=0;$i<count($User_List)-1;$i++){
303 303
304 if($_POST["SendType"]==0 || $_POST["SendType"]==1){ 304 if($_POST["SendType"]==0 || $_POST["SendType"]==1){
305 if($strToMob!=""){ 305 if($strToMob!=""){
306 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 306 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
307 }else{ 307 }else{
308 $intBool2 = true; 308 $intBool2 = true;
309 } 309 }
@@ -325,7 +325,7 @@ for($i=0;$i<count($User_List)-1;$i++){ @@ -325,7 +325,7 @@ for($i=0;$i<count($User_List)-1;$i++){
325 325
326 if($_POST["SendType"]==0 || $_POST["SendType"]==2){ 326 if($_POST["SendType"]==0 || $_POST["SendType"]==2){
327 if($strTo!=""){ 327 if($strTo!=""){
328 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC, $Header,"-f ".$strSubmitAdd);//PCに送信 328 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3), $Header,"-f ".$NOREPLY_ADDR);//PCに送信
329 }else{ 329 }else{
330 $intBool = true; 330 $intBool = true;
331 } 331 }
@@ -197,7 +197,7 @@ if($objRecSet==false){ @@ -197,7 +197,7 @@ if($objRecSet==false){
197 } 197 }
198 198
199 $Header1 = ""; 199 $Header1 = "";
200 -$Headers['From']=$strSubmitAdd; 200 +$Headers['From']=$NOREPLY_ADDR;
201 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 201 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
202 $logFrom = array(); //log配列初期化 202 $logFrom = array(); //log配列初期化
203 $logTo = array(); 203 $logTo = array();
@@ -299,7 +299,7 @@ for($i=0;$i<count($User_List)-1;$i++){ @@ -299,7 +299,7 @@ for($i=0;$i<count($User_List)-1;$i++){
299 299
300 if($_POST["SendType"]==0 || $_POST["SendType"]==1){ 300 if($_POST["SendType"]==0 || $_POST["SendType"]==1){
301 if($strToMob!=""){ 301 if($strToMob!=""){
302 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 302 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
303 }else{ 303 }else{
304 $intBool2 = true; 304 $intBool2 = true;
305 } 305 }
@@ -321,7 +321,7 @@ for($i=0;$i<count($User_List)-1;$i++){ @@ -321,7 +321,7 @@ for($i=0;$i<count($User_List)-1;$i++){
321 321
322 if($_POST["SendType"]==0 || $_POST["SendType"]==2){ 322 if($_POST["SendType"]==0 || $_POST["SendType"]==2){
323 if($strTo!=""){ 323 if($strTo!=""){
324 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC, $Header,"-f ".$strSubmitAdd);//PCに送信 324 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3), $Header,"-f ".$NOREPLY_ADDR);//PCに送信
325 }else{ 325 }else{
326 $intBool = true; 326 $intBool = true;
327 } 327 }
@@ -14,6 +14,8 @@ include("./include/session_start.inc"); @@ -14,6 +14,8 @@ include("./include/session_start.inc");
14 include("./include/dbcon.inc"); 14 include("./include/dbcon.inc");
15 include("./include/jcode.phps"); 15 include("./include/jcode.phps");
16 include("./include/mime.php"); 16 include("./include/mime.php");
  17 +include("./include/mtcnews.inc");
  18 +
17 //*************************** 19 //***************************
18 //* 初期処理 20 //* 初期処理
19 //*************************** 21 //***************************
@@ -414,7 +416,7 @@ $strSQL = "SELECT * FROM syain_tbl WHERE syain_id = " . $strUser_id; @@ -414,7 +416,7 @@ $strSQL = "SELECT * FROM syain_tbl WHERE syain_id = " . $strUser_id;
414 416
415 $objRecSet = pg_exec($strSQL); 417 $objRecSet = pg_exec($strSQL);
416 if($objRecSet==false){ 418 if($objRecSet==false){
417 - echo("SQL実行に失敗しました(INSERT)"); 419 + echo("SQL実行に失敗しました(INSERT)1");
418 exit; 420 exit;
419 } 421 }
420 422
@@ -475,7 +477,8 @@ if ($intDataCount == 0){ @@ -475,7 +477,8 @@ if ($intDataCount == 0){
475 477
476 $objRecSet = pg_exec($strSQL); 478 $objRecSet = pg_exec($strSQL);
477 if($objRecSet==false){ 479 if($objRecSet==false){
478 - echo("SQL実行に失敗しました(INSERT)"); 480 + echo("SQL実行に失敗しました(INSERT)2");
  481 + echo($strSQL);
479 exit; 482 exit;
480 } 483 }
481 484
@@ -490,7 +493,7 @@ if ($intDataCount == 0){ @@ -490,7 +493,7 @@ if ($intDataCount == 0){
490 493
491 $objRecSet = pg_exec($strSQL); 494 $objRecSet = pg_exec($strSQL);
492 if($objRecSet==false){ 495 if($objRecSet==false){
493 - echo("SQL実行に失敗しました(INSERT)"); 496 + echo("SQL実行に失敗しました(INSERT)3");
494 exit; 497 exit;
495 } 498 }
496 }else{ 499 }else{
@@ -506,7 +509,7 @@ if ($intDataCount == 0){ @@ -506,7 +509,7 @@ if ($intDataCount == 0){
506 509
507 $objRecSet = pg_exec($strSQL); 510 $objRecSet = pg_exec($strSQL);
508 if($objRecSet==false){ 511 if($objRecSet==false){
509 - echo("SQL実行に失敗しました(INSERT)"); 512 + echo("SQL実行に失敗しました(INSERT)4");
510 exit; 513 exit;
511 } 514 }
512 } 515 }
@@ -518,7 +521,7 @@ if ($intDataCount == 0){ @@ -518,7 +521,7 @@ if ($intDataCount == 0){
518 "(".$Max_cd . ","."'".$biko."','".$syamei."')"; 521 "(".$Max_cd . ","."'".$biko."','".$syamei."')";
519 $objRecSet = pg_exec($strSQL); 522 $objRecSet = pg_exec($strSQL);
520 if($objRecSet==false){ 523 if($objRecSet==false){
521 - echo("SQL実行に失敗しました(INSERT)"); 524 + echo("SQL実行に失敗しました(INSERT)5");
522 exit; 525 exit;
523 } 526 }
524 527
@@ -544,7 +547,7 @@ if ($intDataCount == 0){ @@ -544,7 +547,7 @@ if ($intDataCount == 0){
544 $strComment = jcodeconvert($strComment, 1, 3); 547 $strComment = jcodeconvert($strComment, 1, 3);
545 548
546 $Header1 = ""; 549 $Header1 = "";
547 - $Headers['From']=$strSubmitAdd; 550 + $Headers['From']=$NOREPLY_ADDR;
548 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 551 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
549 //PEARのmimeクラス設定 552 //PEARのmimeクラス設定
550 $mime = new Mail_mime("\r\n"); 553 $mime = new Mail_mime("\r\n");
@@ -559,12 +562,12 @@ if ($intDataCount == 0){ @@ -559,12 +562,12 @@ if ($intDataCount == 0){
559 $Header1 .= $key.": ".$val."\r\n"; 562 $Header1 .= $key.": ".$val."\r\n";
560 } 563 }
561 564
562 - $intBool2 = mail($strToMob,$strSubject,$strComment,$Header1);//登録者に送信 565 + $intBool2 = mail($strToMob,$strSubject,$strComment,$Header1,"-f ".$NOREPLY_ADDR);//登録者に送信
563 if(!$intBool2){ 566 if(!$intBool2){
564 echo("メールエラー"); 567 echo("メールエラー");
565 exit; 568 exit;
566 } 569 }
567 - $intBool2 = mail($strMailaddress1,$strSubject,$strComment,$Header1);//登録者に送信 570 + $intBool2 = mail($strMailaddress1,$strSubject,$strComment,$Header1,"-f ".$NOREPLY_ADDR);//登録者に送信
568 if(!$intBool2){ 571 if(!$intBool2){
569 echo("メールエラー"); 572 echo("メールエラー");
570 exit; 573 exit;
@@ -718,7 +721,7 @@ if ($bumon_num==0){ @@ -718,7 +721,7 @@ if ($bumon_num==0){
718 721
719 $objRecSet = pg_exec($strSQL); 722 $objRecSet = pg_exec($strSQL);
720 if($objRecSet==false){ 723 if($objRecSet==false){
721 - echo("SQL実行に失敗しました(INSERT)"); 724 + echo("SQL実行に失敗しました(INSERT)6");
722 exit; 725 exit;
723 } 726 }
724 }else{ 727 }else{
@@ -729,7 +732,7 @@ if ($bumon_num==0){ @@ -729,7 +732,7 @@ if ($bumon_num==0){
729 "VALUES ('" . $strKey . "','" . $strBumonArray[$i] . "')"; 732 "VALUES ('" . $strKey . "','" . $strBumonArray[$i] . "')";
730 $objRecSet = pg_exec($strSQL); 733 $objRecSet = pg_exec($strSQL);
731 if($objRecSet==false){ 734 if($objRecSet==false){
732 - echo("SQL実行に失敗しました(INSERT)"); 735 + echo("SQL実行に失敗しました(INSERT)7");
733 exit; 736 exit;
734 } 737 }
735 } 738 }
@@ -748,7 +751,7 @@ $strSQL="INSERT INTO syain_biko_tbl ( syain_cd,biko,syamei ) VALUES ". @@ -748,7 +751,7 @@ $strSQL="INSERT INTO syain_biko_tbl ( syain_cd,biko,syamei ) VALUES ".
748 "(".$strKey . ","."'".$biko."','".$syamei."')"; 751 "(".$strKey . ","."'".$biko."','".$syamei."')";
749 $objRecSet = pg_exec($strSQL); 752 $objRecSet = pg_exec($strSQL);
750 if($objRecSet==false){ 753 if($objRecSet==false){
751 - echo("SQL実行に失敗しました(INSERT)"); 754 + echo("SQL実行に失敗しました(INSERT)8");
752 exit; 755 exit;
753 } 756 }
754 757
@@ -14,6 +14,8 @@ include("./include/session_start.inc"); @@ -14,6 +14,8 @@ include("./include/session_start.inc");
14 include("./include/jcode.phps"); 14 include("./include/jcode.phps");
15 include("./include/dbcon.inc"); 15 include("./include/dbcon.inc");
16 include("./include/mime.php"); 16 include("./include/mime.php");
  17 +include("./include/mtcnews.inc");
  18 +
17 //*************************** 19 //***************************
18 //* 内部変数 20 //* 内部変数
19 //*************************** 21 //***************************
@@ -16,6 +16,7 @@ include("./include/session_start.inc"); @@ -16,6 +16,7 @@ include("./include/session_start.inc");
16 include("./include/jcode.phps"); 16 include("./include/jcode.phps");
17 include("./include/mime.php"); 17 include("./include/mime.php");
18 include("./include/getDomain.inc"); 18 include("./include/getDomain.inc");
  19 +include("./include/mtcnews.inc");
19 20
20 $kokyaku_name = $_SESSION["PHP_POST_DB_USER_NAME"]; 21 $kokyaku_name = $_SESSION["PHP_POST_DB_USER_NAME"];
21 $kokyaku_ID = $_SESSION["PHP_POST_SYAIN_ID"]; 22 $kokyaku_ID = $_SESSION["PHP_POST_SYAIN_ID"];
@@ -31,7 +32,7 @@ $strSubmitAdd = 'webmaster@media-tek.co.jp'; @@ -31,7 +32,7 @@ $strSubmitAdd = 'webmaster@media-tek.co.jp';
31 $strKenmei = "【め〜るNiポン!】お問い合わせ(".$q_ctg.")"; 32 $strKenmei = "【め〜るNiポン!】お問い合わせ(".$q_ctg.")";
32 $Header = ""; //ヘッダー部クリア 33 $Header = ""; //ヘッダー部クリア
33 34
34 -$Headers['From'] = $strSubmitAdd; 35 +$Headers['From'] = $NOREPLY_ADDR;
35 $Headers['X-Mailer'] = "PHP/".phpversion(); //メール送信プログラムの表示 36 $Headers['X-Mailer'] = "PHP/".phpversion(); //メール送信プログラムの表示
36 37
37 $strSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert(stripslashes($strKenmei), 0, 3)) . "?="; 38 $strSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert(stripslashes($strKenmei), 0, 3)) . "?=";
@@ -58,7 +59,7 @@ $Headers = $mime->headers($Headers); @@ -58,7 +59,7 @@ $Headers = $mime->headers($Headers);
58 while (list($key,$val) = each($Headers)) { 59 while (list($key,$val) = each($Headers)) {
59 $Header .= $key.": ".$val."\r\n"; 60 $Header .= $key.": ".$val."\r\n";
60 } 61 }
61 -mail($to, $strSubject, $strComment, $Header, "-f ".$strSubmitAdd);//送信 62 +mail($to, $strSubject, $strComment, $Header, "-f ".$NOREPLY_ADDR);//送信
62 63
63 $o_smarty->display('SUB0101.tpl'); 64 $o_smarty->display('SUB0101.tpl');
64 65
@@ -17,12 +17,13 @@ include("./include/jcode.phps"); @@ -17,12 +17,13 @@ include("./include/jcode.phps");
17 include("./include/mime.php"); 17 include("./include/mime.php");
18 include("./include/getDomain.inc"); 18 include("./include/getDomain.inc");
19 include("./include/dbcon2.inc"); 19 include("./include/dbcon2.inc");
  20 +include("./include/mtcnews.inc");
20 21
21 //********** メイン処理 **********// 22 //********** メイン処理 **********//
22 $strSQL = "SELECT * from form_data_tbl WHERE user_id = '" . $_SESSION["PHP_POST_SYAIN_ID"] . "'"; 23 $strSQL = "SELECT * from form_data_tbl WHERE user_id = '" . $_SESSION["PHP_POST_SYAIN_ID"] . "'";
23 $objRecSet = pg_exec($strSQL); 24 $objRecSet = pg_exec($strSQL);
24 if($objRecSet==false){ 25 if($objRecSet==false){
25 - echo("SQL実行に失敗しました(UPDATE)"); 26 + echo("SQL実行に失敗しました(SELECT)");
26 exit; 27 exit;
27 } 28 }
28 29
@@ -37,14 +38,14 @@ if (pg_numrows($objRecSet) != 0) { @@ -37,14 +38,14 @@ if (pg_numrows($objRecSet) != 0) {
37 38
38 $Header="";//ヘッダー部クリア 39 $Header="";//ヘッダー部クリア
39 40
40 - $Headers['From']=$strSubmitAdd; 41 + $Headers['From']=$NOREPLY_ADDR;
41 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 42 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
42 43
43 $strSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert(stripslashes($strKenmei), 0, 3)) . "?="; 44 $strSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert(stripslashes($strKenmei), 0, 3)) . "?=";
44 45
45 $strComment = jcodeconvert($user_name,1,3)." 様\n\n"; 46 $strComment = jcodeconvert($user_name,1,3)." 様\n\n";
46 - $strComment .= " め〜るNiポンの退会を受け付けました。\n";  
47 - $strComment .= " これまでご利用頂きどうもありがとうございました。\n"; 47 + $strComment .= " め〜るNiポンの退会を受付いたしました。\n";
  48 + $strComment .= " これまでご利用いただきまして誠にありがとうございました。\n";
48 $strComment .= "\n"; 49 $strComment .= "\n";
49 $strComment .= "\n"; 50 $strComment .= "\n";
50 $strComment .= "またのご利用をお待ちしております。\n"; 51 $strComment .= "またのご利用をお待ちしております。\n";
@@ -74,11 +75,11 @@ if (pg_numrows($objRecSet) != 0) { @@ -74,11 +75,11 @@ if (pg_numrows($objRecSet) != 0) {
74 while (list($key,$val)=each($Headers)) { 75 while (list($key,$val)=each($Headers)) {
75 $Header1 .= $key.": ".$val."\r\n"; 76 $Header1 .= $key.": ".$val."\r\n";
76 } 77 }
77 - $intBool2 = mail($e_mail,$strSubject,$strComment,$Header1,"-f ".$strSubmitAdd);//送信 78 + $intBool2 = mail($e_mail,$strSubject,$strComment,$Header1,"-f ".$NOREPLY_ADDR);//送信
78 $e_mail=$strSubmitAdd; 79 $e_mail=$strSubmitAdd;
79 $strComment = jcodeconvert($user_name,1,3)." 様\n\n"; 80 $strComment = jcodeconvert($user_name,1,3)." 様\n\n";
80 - $strComment .= " め〜るNiポンの退会を受け付けました。\n";  
81 - $strComment .= " これまでご利用頂きどうもありがとうございました。\n"; 81 + $strComment .= " め〜るNiポンの退会を受付いたしました。\n";
  82 + $strComment .= " これまでご利用いただきまして誠にありがとうございました。\n";
82 $strComment .= "\n"; 83 $strComment .= "\n";
83 $strComment .= "■退会理由\n"; 84 $strComment .= "■退会理由\n";
84 $strComment .= $textarea."\n"; 85 $strComment .= $textarea."\n";
@@ -95,7 +96,7 @@ if (pg_numrows($objRecSet) != 0) { @@ -95,7 +96,7 @@ if (pg_numrows($objRecSet) != 0) {
95 $strComment .= "\n"; 96 $strComment .= "\n";
96 97
97 $strComment = jcodeconvert($strComment, 1, 3); 98 $strComment = jcodeconvert($strComment, 1, 3);
98 - $intBool2 = mail($e_mail,$strSubject,$strComment,$Header1,"-f ".$strSubmitAdd);//送信 99 + $intBool2 = mail($e_mail,$strSubject,$strComment,$Header1,"-f ".$NOREPLY_ADDR);//送信
99 } 100 }
100 101
101 //退会理由Insert 102 //退会理由Insert
@@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
2 2
3 include("../include/mime.php"); 3 include("../include/mime.php");
4 include("../include/jcode.phps"); 4 include("../include/jcode.phps");
  5 +include("../include/mtcnews.inc");
5 // ポイントを加算減算する 6 // ポイントを加算減算する
6 // 7 //
7 8
@@ -82,7 +83,7 @@ include("../include/jcode.phps"); @@ -82,7 +83,7 @@ include("../include/jcode.phps");
82 $strComment = jcodeconvert($strComment, 1, 3); 83 $strComment = jcodeconvert($strComment, 1, 3);
83 84
84 $Header1 = ""; 85 $Header1 = "";
85 - $Headers['From']=$strSubmitAdd; 86 + $Headers['From']=$NOREPLY_ADDR;
86 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 87 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
87 //PEARのmimeクラス設定 88 //PEARのmimeクラス設定
88 $mime = new Mail_mime("\r\n"); 89 $mime = new Mail_mime("\r\n");
@@ -96,7 +97,7 @@ include("../include/jcode.phps"); @@ -96,7 +97,7 @@ include("../include/jcode.phps");
96 while (list($key,$val)=each($Headers)) { 97 while (list($key,$val)=each($Headers)) {
97 $Header1 .= $key.": ".$val."\r\n"; 98 $Header1 .= $key.": ".$val."\r\n";
98 } 99 }
99 - $intBool2 = mail($strToMob,$strSubject,$strComment,$Header1,"-f ".$strSubmitAdd);//登録者に送信 100 + $intBool2 = mail($strToMob,$strSubject,$strComment,$Header1,"-f ".$NOREPLY_ADDR);//登録者に送信
100 if(!$intBool2){ 101 if(!$intBool2){
101 echo("メール送信に失敗しました。<tr>"); 102 echo("メール送信に失敗しました。<tr>");
102 echo "宛先:".$strToMob."<BR>"; 103 echo "宛先:".$strToMob."<BR>";
@@ -107,7 +108,7 @@ include("../include/jcode.phps"); @@ -107,7 +108,7 @@ include("../include/jcode.phps");
107 } 108 }
108 109
109 $strToMob = "webmaster@media-tek.co.jp"; 110 $strToMob = "webmaster@media-tek.co.jp";
110 - $intBool2 = mail($strToMob,$strSubject,$strComment,$Header1,"-f ".$strSubmitAdd);//管理者に送信 111 + $intBool2 = mail($strToMob,$strSubject,$strComment,$Header1,"-f ".$NOREPLY_ADDR);//管理者に送信
111 if(!$intBool2){ 112 if(!$intBool2){
112 echo("メール送信に失敗しました。<tr>"); 113 echo("メール送信に失敗しました。<tr>");
113 echo "宛先:".$strToMob."<BR>"; 114 echo "宛先:".$strToMob."<BR>";
@@ -16,6 +16,7 @@ include("../include/getDomain.inc"); @@ -16,6 +16,7 @@ include("../include/getDomain.inc");
16 include("../include/jcode.phps"); 16 include("../include/jcode.phps");
17 include("../include/mime.php"); 17 include("../include/mime.php");
18 include("include/allinc.inc"); 18 include("include/allinc.inc");
  19 +include("../include/mtcnews.inc");
19 20
20 $sql = "SELECT * FROM mail_body_tbl "; 21 $sql = "SELECT * FROM mail_body_tbl ";
21 $sql .= "where seq=".$mail_body; 22 $sql .= "where seq=".$mail_body;
bouncer @ 1f64b79d
  1 +Subproject commit 1f64b79de296aaf30bdce7aa20b5c88b5858357e
@@ -17,6 +17,7 @@ include("/var/www/html/production/mail_ni_pon_v2/include/getDomain.inc"); @@ -17,6 +17,7 @@ include("/var/www/html/production/mail_ni_pon_v2/include/getDomain.inc");
17 include("/var/www/html/production/mail_ni_pon_v2/include/jcode.phps"); 17 include("/var/www/html/production/mail_ni_pon_v2/include/jcode.phps");
18 include("/var/www/html/production/mail_ni_pon_v2/include/dbcon2.inc"); 18 include("/var/www/html/production/mail_ni_pon_v2/include/dbcon2.inc");
19 include("/var/www/html/production/mail_ni_pon_v2/include/mime.php"); 19 include("/var/www/html/production/mail_ni_pon_v2/include/mime.php");
  20 +include("/var/www/html/production/mail_ni_pon_v2/include/mtcnews.inc");
20 21
21 //メール文章 22 //メール文章
22 include("/var/www/html/production/mail_ni_pon_v2/include/mtcnews.inc"); 23 include("/var/www/html/production/mail_ni_pon_v2/include/mtcnews.inc");
@@ -192,7 +193,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) { @@ -192,7 +193,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) {
192 193
193 //送信者アドレス取得 194 //送信者アドレス取得
194 $Header1 = ""; 195 $Header1 = "";
195 - $Headers['From']=$strSubmitAdd; 196 + $Headers['From']=$NOREPLY_ADDR;
196 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 197 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
197 198
198 $strSQL = "SELECT * FROM mail_info " . 199 $strSQL = "SELECT * FROM mail_info " .
@@ -263,7 +264,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) { @@ -263,7 +264,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) {
263 264
264 if($strTo!=""){ 265 if($strTo!=""){
265 if($send_type[$i]==0 || $send_type[$i]==2){ 266 if($send_type[$i]==0 || $send_type[$i]==2){
266 - $intBool = mail($strTo,$strSubject,$strComment.$Comment_pc.$koukokuPC[$intDb_Idx],$Header1,"-f ".$strSubmitAdd);//PCに送信 267 + $intBool = mail($strTo,$strSubject,$strComment.$Comment_pc.$koukokuPC[$intDb_Idx].jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//PCに送信
267 }else{ 268 }else{
268 $intBool = true; 269 $intBool = true;
269 } 270 }
@@ -274,7 +275,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) { @@ -274,7 +275,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) {
274 } 275 }
275 if($strToMob!=""){ 276 if($strToMob!=""){
276 if($send_type[$i]==0 || $send_type[$i]==1){ 277 if($send_type[$i]==0 || $send_type[$i]==1){
277 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL[$intDb_Idx],$Header1,"-f ".$strSubmitAdd);//携帯に送信 278 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL[$intDb_Idx].jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
278 }else{ 279 }else{
279 $intBool2 = true; 280 $intBool2 = true;
280 } 281 }
@@ -383,7 +384,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) { @@ -383,7 +384,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) {
383 } 384 }
384 385
385 //送信者アドレス取得 386 //送信者アドレス取得
386 - $Headers['From']=$strSubmitAdd; 387 + $Headers['From']=$NOREPLY_ADDR;
387 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 388 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
388 //$strMailSendName=""; 389 //$strMailSendName="";
389 $strSQL = "SELECT * FROM mail_info " . 390 $strSQL = "SELECT * FROM mail_info " .
@@ -439,7 +440,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) { @@ -439,7 +440,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) {
439 440
440 if($strTo!=""){ 441 if($strTo!=""){
441 if($send_type[$i]==0 || $send_type[$i]==2){ 442 if($send_type[$i]==0 || $send_type[$i]==2){
442 - $intBool = mail($strTo,$strSubject,$strComment.$Comment_pc.$koukokuPC[$intDb_Idx],$Header1,"-f ".$strSubmitAdd);//PCに送信 443 + $intBool = mail($strTo,$strSubject,$strComment.$Comment_pc.$koukokuPC[$intDb_Idx].jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//PCに送信
443 }else{ 444 }else{
444 $intBool = true; 445 $intBool = true;
445 } 446 }
@@ -451,7 +452,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) { @@ -451,7 +452,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) {
451 452
452 if($strToMob!=""){ 453 if($strToMob!=""){
453 if($send_type[$i]==0 || $send_type[$i]==1){ 454 if($send_type[$i]==0 || $send_type[$i]==1){
454 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL[$intDb_Idx],$Header1,"-f ".$strSubmitAdd);//携帯に送信 455 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL[$intDb_Idx].jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
455 }else{ 456 }else{
456 $intBool2 = true; 457 $intBool2 = true;
457 } 458 }
@@ -558,7 +559,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) { @@ -558,7 +559,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) {
558 } 559 }
559 560
560 //送信者アドレス取得 561 //送信者アドレス取得
561 - $Headers['From']=$strSubmitAdd; 562 + $Headers['From']=$NOREPLY_ADDR;
562 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 563 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
563 //$strMailSendName=""; 564 //$strMailSendName="";
564 //$strMailSendName="from:" . $strSubmitAdd; 565 //$strMailSendName="from:" . $strSubmitAdd;
@@ -617,7 +618,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) { @@ -617,7 +618,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) {
617 618
618 if($strTo!=""){ 619 if($strTo!=""){
619 if($send_type[$i]==0 || $send_type[$i]==2){ 620 if($send_type[$i]==0 || $send_type[$i]==2){
620 - $intBool = mail($strTo,$strSubject,$strComment.$Comment_pc.$koukokuPC[$intDb_Idx],$Header1,"-f ".$strSubmitAdd);//PCに送信 621 + $intBool = mail($strTo,$strSubject,$strComment.$Comment_pc.$koukokuPC[$intDb_Idx].jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//PCに送信
621 }else{ 622 }else{
622 $intBool = true; 623 $intBool = true;
623 } 624 }
@@ -629,7 +630,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) { @@ -629,7 +630,7 @@ for($intDb_Idx = 0; $intDb_Idx < $intDB_Count ; $intDb_Idx++) {
629 630
630 if($strToMob!=""){ 631 if($strToMob!=""){
631 if($send_type[$i]==0 || $send_type[$i]==1){ 632 if($send_type[$i]==0 || $send_type[$i]==1){
632 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL[$intDb_Idx],$Header1,"-f ".$strSubmitAdd); //携帯に送信 633 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL[$intDb_Idx].jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR); //携帯に送信
633 }else{ 634 }else{
634 $intBool2 = true; 635 $intBool2 = true;
635 } 636 }
@@ -16,6 +16,7 @@ include("./include/mime.php"); @@ -16,6 +16,7 @@ include("./include/mime.php");
16 include("./include/getWeekDay.inc"); 16 include("./include/getWeekDay.inc");
17 include("./include/getDomain.inc"); 17 include("./include/getDomain.inc");
18 include("./include/jcode.phps"); 18 include("./include/jcode.phps");
  19 +include("./include/mtcnews.inc");
19 20
20 $strSQL=""; 21 $strSQL="";
21 $objRecSet="null"; 22 $objRecSet="null";
@@ -49,7 +50,7 @@ include("./include/jcode.phps"); @@ -49,7 +50,7 @@ include("./include/jcode.phps");
49 50
50 $Header="";//ヘッダー部クリア 51 $Header="";//ヘッダー部クリア
51 52
52 - $Headers['From']=$strSubmitAdd; 53 + $Headers['From']=$NOREPLY_ADDR;
53 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 54 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
54 55
55 $strSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert(stripslashes($strKenmei), 0, 3)) . "?="; 56 $strSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert(stripslashes($strKenmei), 0, 3)) . "?=";
@@ -93,7 +94,7 @@ include("./include/jcode.phps"); @@ -93,7 +94,7 @@ include("./include/jcode.phps");
93 $Header1 .= $key.": ".$val."\r\n"; 94 $Header1 .= $key.": ".$val."\r\n";
94 } 95 }
95 96
96 - $intBool2 = mail($e_mail,$strSubject,$strComment,$Header1,"-f ".$strSubmitAdd);//携帯に送信 97 + $intBool2 = mail($e_mail,$strSubject,$strComment,$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
97 ?> 98 ?>
98 <HTML> 99 <HTML>
99 <HEAD> 100 <HEAD>
@@ -74,4 +74,14 @@ $Mail_PC = "/*------------------------------------------------------------------ @@ -74,4 +74,14 @@ $Mail_PC = "/*------------------------------------------------------------------
74 "このメールはメール配信システム「め〜るNiポン!」より配信されています"."\n". 74 "このメールはメール配信システム「め〜るNiポン!」より配信されています"."\n".
75 "詳細はこちら ⇒ http://www.mail-ni-pon.net/"."\n\n".$arNews[$news_no]."\n". 75 "詳細はこちら ⇒ http://www.mail-ni-pon.net/"."\n\n".$arNews[$news_no]."\n".
76 "-------------------------------------------------------------------------------*/"; 76 "-------------------------------------------------------------------------------*/";
  77 +
  78 +$NOREPLY_ADDR = "noreply@mail-ni-pon.net";
  79 +
  80 +function group_admin_addr($admin_addr){
  81 + $str = "\n"."/*-----------------------------------------------------------------------------"."\n".
  82 + "このメールは「め〜るNiポン」より自動送信されています。"."\n".
  83 + "送信者に連絡の際は、「".$admin_addr."」へご連絡ください。"."\n".
  84 + "-------------------------------------------------------------------------------*/";
  85 + return $str;
  86 + }
77 ?> 87 ?>
@@ -660,7 +660,7 @@ if($tmp_flg==0){ @@ -660,7 +660,7 @@ if($tmp_flg==0){
660 660
661 //$Mail_Nasi=array(); 661 //$Mail_Nasi=array();
662 $Mail_Nasi=0; 662 $Mail_Nasi=0;
663 - $Headers['From']=$strSubmitAdd; 663 + $Headers['From']=$NOREPLY_ADDR;
664 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 664 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
665 665
666 //メールヘッダの配列を文字列に組み立てる 666 //メールヘッダの配列を文字列に組み立てる
@@ -732,7 +732,7 @@ if($tmp_flg==0){ @@ -732,7 +732,7 @@ if($tmp_flg==0){
732 } 732 }
733 if($NowSend!="on"){ 733 if($NowSend!="on"){
734 if($SendType==0 || $SendType==1){ 734 if($SendType==0 || $SendType==1){
735 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 735 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
736 $logFrom[$intCountLog] = $strSubmitAdd; 736 $logFrom[$intCountLog] = $strSubmitAdd;
737 $logTo[$intCountLog] = $strToMob; 737 $logTo[$intCountLog] = $strToMob;
738 $logType[$intCountLog] = 1; 738 $logType[$intCountLog] = 1;
@@ -771,7 +771,7 @@ if($tmp_flg==0){ @@ -771,7 +771,7 @@ if($tmp_flg==0){
771 } 771 }
772 if($NowSend!="on"){ 772 if($NowSend!="on"){
773 if($SendType==0 || $SendType==2){ 773 if($SendType==0 || $SendType==2){
774 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC,$Header,"-f ".$strSubmitAdd);//PCに送信 774 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header,"-f ".$NOREPLY_ADDR);//PCに送信
775 $logFrom[$intCountLog] = $strSubmitAdd; 775 $logFrom[$intCountLog] = $strSubmitAdd;
776 $logTo[$intCountLog] = $strToMob; 776 $logTo[$intCountLog] = $strToMob;
777 $logType[$intCountLog] = 0; 777 $logType[$intCountLog] = 0;
@@ -92,7 +92,6 @@ include("../include/mpoint.inc"); @@ -92,7 +92,6 @@ include("../include/mpoint.inc");
92 include("../include/mlogget.inc"); 92 include("../include/mlogget.inc");
93 include("../../include/mtcnews.inc"); 93 include("../../include/mtcnews.inc");
94 94
95 -  
96 //$Comment_tel = "このメールはメール配信システム「め〜るNiポン!」より配信されています"."\n". 95 //$Comment_tel = "このメールはメール配信システム「め〜るNiポン!」より配信されています"."\n".
97 // "詳細はこちらをご覧ください"."\n". 96 // "詳細はこちらをご覧ください"."\n".
98 // "↓↓↓↓↓↓"."\n". 97 // "↓↓↓↓↓↓"."\n".
@@ -657,7 +656,7 @@ if($tmp_flg==0){ @@ -657,7 +656,7 @@ if($tmp_flg==0){
657 //$Mail_Nasi=array(); 656 //$Mail_Nasi=array();
658 $Header1 = ""; 657 $Header1 = "";
659 $Mail_Nasi=0; 658 $Mail_Nasi=0;
660 - $Headers['From']=$strSubmitAdd; 659 + $Headers['From']=$NOREPLY_ADDR;
661 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 660 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
662 661
663 $logFrom = array(); //log配列初期化 662 $logFrom = array(); //log配列初期化
@@ -738,7 +737,7 @@ if($tmp_flg==0){ @@ -738,7 +737,7 @@ if($tmp_flg==0){
738 } 737 }
739 if($NowSend!="on"){ 738 if($NowSend!="on"){
740 if($SendType==0 || $SendType==1){ 739 if($SendType==0 || $SendType==1){
741 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 740 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
742 $logFrom[$intCountLog] = $strSubmitAdd; 741 $logFrom[$intCountLog] = $strSubmitAdd;
743 $logTo[$intCountLog] = $strToMob; 742 $logTo[$intCountLog] = $strToMob;
744 $logType[$intCountLog] = 1; 743 $logType[$intCountLog] = 1;
@@ -777,7 +776,7 @@ if($tmp_flg==0){ @@ -777,7 +776,7 @@ if($tmp_flg==0){
777 } 776 }
778 if($NowSend!="on"){ 777 if($NowSend!="on"){
779 if($SendType==0 || $SendType==2){ 778 if($SendType==0 || $SendType==2){
780 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC,$Header,"-f ".$strSubmitAdd);//PCに送信 779 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header,"-f ".$NOREPLY_ADDR);//PCに送信
781 $logFrom[$intCountLog] = $strSubmitAdd; 780 $logFrom[$intCountLog] = $strSubmitAdd;
782 $logTo[$intCountLog] = $strToMob; 781 $logTo[$intCountLog] = $strToMob;
783 $logType[$intCountLog] = 0; 782 $logType[$intCountLog] = 0;
@@ -79,7 +79,6 @@ include("../include/mpoint.inc"); @@ -79,7 +79,6 @@ include("../include/mpoint.inc");
79 include("../include/mlogget.inc"); 79 include("../include/mlogget.inc");
80 include("../../include/mtcnews.inc"); 80 include("../../include/mtcnews.inc");
81 81
82 -  
83 //$Comment_tel = "このメールはメール配信システム「め〜るNiポン!」より配信されています"."\n". 82 //$Comment_tel = "このメールはメール配信システム「め〜るNiポン!」より配信されています"."\n".
84 // "詳細はこちらをご覧ください"."\n". 83 // "詳細はこちらをご覧ください"."\n".
85 // "↓↓↓↓↓↓"."\n". 84 // "↓↓↓↓↓↓"."\n".
@@ -638,7 +637,7 @@ if($tmp_flg==0){ @@ -638,7 +637,7 @@ if($tmp_flg==0){
638 637
639 //$Mail_Nasi=array(); 638 //$Mail_Nasi=array();
640 $Mail_Nasi=0; 639 $Mail_Nasi=0;
641 - $Headers['From']=$strSubmitAdd; 640 + $Headers['From']=$NOREPLY_ADDR;
642 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 641 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
643 642
644 //メールヘッダの配列を文字列に組み立てる 643 //メールヘッダの配列を文字列に組み立てる
@@ -710,7 +709,7 @@ if($tmp_flg==0){ @@ -710,7 +709,7 @@ if($tmp_flg==0){
710 } 709 }
711 if($NowSend!="on"){ 710 if($NowSend!="on"){
712 if($SendType==0 || $SendType==1){ 711 if($SendType==0 || $SendType==1){
713 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 712 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
714 $logFrom[$intCountLog] = $strSubmitAdd; 713 $logFrom[$intCountLog] = $strSubmitAdd;
715 $logTo[$intCountLog] = $strToMob; 714 $logTo[$intCountLog] = $strToMob;
716 $logType[$intCountLog] = 1; 715 $logType[$intCountLog] = 1;
@@ -749,7 +748,7 @@ if($tmp_flg==0){ @@ -749,7 +748,7 @@ if($tmp_flg==0){
749 } 748 }
750 if($NowSend!="on"){ 749 if($NowSend!="on"){
751 if($SendType==0 || $SendType==2){ 750 if($SendType==0 || $SendType==2){
752 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC,$Header,"-f ".$strSubmitAdd);//PCに送信 751 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header,"-f ".$NOREPLY_ADDR);//PCに送信
753 $logFrom[$intCountLog] = $strSubmitAdd; 752 $logFrom[$intCountLog] = $strSubmitAdd;
754 $logTo[$intCountLog] = $strToMob; 753 $logTo[$intCountLog] = $strToMob;
755 $logType[$intCountLog] = 0; 754 $logType[$intCountLog] = 0;
@@ -92,7 +92,6 @@ include("../include/mpoint.inc"); @@ -92,7 +92,6 @@ include("../include/mpoint.inc");
92 include("../include/mlogget.inc"); 92 include("../include/mlogget.inc");
93 include("../../include/mtcnews.inc"); 93 include("../../include/mtcnews.inc");
94 94
95 -  
96 //$Comment_tel = "このメールはメール配信システム「め〜るNiポン!」より配信されています"."\n". 95 //$Comment_tel = "このメールはメール配信システム「め〜るNiポン!」より配信されています"."\n".
97 // "詳細はこちらをご覧ください"."\n". 96 // "詳細はこちらをご覧ください"."\n".
98 // "↓↓↓↓↓↓"."\n". 97 // "↓↓↓↓↓↓"."\n".
@@ -630,7 +629,7 @@ if($tmp_flg==0){ @@ -630,7 +629,7 @@ if($tmp_flg==0){
630 //$Mail_Nasi=array(); 629 //$Mail_Nasi=array();
631 $Header1 = ""; 630 $Header1 = "";
632 $Mail_Nasi=0; 631 $Mail_Nasi=0;
633 - $Headers['From']=$strSubmitAdd; 632 + $Headers['From']=$NOREPLY_ADDR;
634 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 633 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
635 634
636 $logFrom = array(); //log配列初期化 635 $logFrom = array(); //log配列初期化
@@ -711,7 +710,7 @@ if($tmp_flg==0){ @@ -711,7 +710,7 @@ if($tmp_flg==0){
711 } 710 }
712 if($NowSend!="on"){ 711 if($NowSend!="on"){
713 if($SendType==0 || $SendType==1){ 712 if($SendType==0 || $SendType==1){
714 - $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL,$Header1,"-f ".$strSubmitAdd);//携帯に送信 713 + $intBool2 = mail($strToMob,$strSubject,$strComment.$Comment_tel.$koukokuTEL.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//携帯に送信
715 $logFrom[$intCountLog] = $strSubmitAdd; 714 $logFrom[$intCountLog] = $strSubmitAdd;
716 $logTo[$intCountLog] = $strToMob; 715 $logTo[$intCountLog] = $strToMob;
717 $logType[$intCountLog] = 1; 716 $logType[$intCountLog] = 1;
@@ -750,7 +749,7 @@ if($tmp_flg==0){ @@ -750,7 +749,7 @@ if($tmp_flg==0){
750 } 749 }
751 if($NowSend!="on"){ 750 if($NowSend!="on"){
752 if($SendType==0 || $SendType==2){ 751 if($SendType==0 || $SendType==2){
753 - $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC,$Header,"-f ".$strSubmitAdd);//PCに送信 752 + $intBool = mail($strTo, $strSubject, $strComment.$Comment_pc.$koukokuPC.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header,"-f ".$NOREPLY_ADDR);//PCに送信
754 $logFrom[$intCountLog] = $strSubmitAdd; 753 $logFrom[$intCountLog] = $strSubmitAdd;
755 $logTo[$intCountLog] = $strToMob; 754 $logTo[$intCountLog] = $strToMob;
756 $logType[$intCountLog] = 0; 755 $logType[$intCountLog] = 0;
@@ -15,6 +15,7 @@ include("./include/session_start.inc"); @@ -15,6 +15,7 @@ include("./include/session_start.inc");
15 include("./include/SessionChk2.inc"); 15 include("./include/SessionChk2.inc");
16 include("./include/jcode.phps"); 16 include("./include/jcode.phps");
17 include("./include/mime.php"); 17 include("./include/mime.php");
  18 +include("../include/mtcnews.inc");
18 19
19 //********** 接続処理 **********// 20 //********** 接続処理 **********//
20 include("./include/dbcon2.inc"); 21 include("./include/dbcon2.inc");
@@ -95,7 +96,7 @@ $strComment .= "\n"; @@ -95,7 +96,7 @@ $strComment .= "\n";
95 $strComment = jcodeconvert($strComment, 1, 3); 96 $strComment = jcodeconvert($strComment, 1, 3);
96 97
97 $Header1 = ""; 98 $Header1 = "";
98 -$Headers['From']=$strSubmitAdd; 99 +$Headers['From']=$NOREPLY_ADDR;
99 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示 100 $Headers['X-Mailer']="PHP/".phpversion(); //メール送信プログラムの表示
100 //PEARのmimeクラス設定 101 //PEARのmimeクラス設定
101 $mime = new Mail_mime("\r\n"); 102 $mime = new Mail_mime("\r\n");
@@ -109,7 +110,7 @@ $Headers = $mime->headers($Headers); @@ -109,7 +110,7 @@ $Headers = $mime->headers($Headers);
109 while (list($key,$val)=each($Headers)) { 110 while (list($key,$val)=each($Headers)) {
110 $Header1 .= $key.": ".$val."\r\n"; 111 $Header1 .= $key.": ".$val."\r\n";
111 } 112 }
112 -$intBool2 = mail($strToMob,$strSubject,$strComment,$Header1,"-f ".$strSubmitAdd);//登録者に送信 113 +$intBool2 = mail($strToMob,$strSubject,$strComment.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//登録者に送信
113 if(!$intBool2){ 114 if(!$intBool2){
114 echo("メール送信に失敗しました。<tr>"); 115 echo("メール送信に失敗しました。<tr>");
115 echo "宛先:".$strToMob."<BR>"; 116 echo "宛先:".$strToMob."<BR>";
@@ -126,7 +127,7 @@ $Subject_name = "め〜るNiポン ポイント申し込みがありました"; @@ -126,7 +127,7 @@ $Subject_name = "め〜るNiポン ポイント申し込みがありました";
126 $strSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($Subject_name, 0, 3)) . "?="; 127 $strSubject = "=?iso-2022-jp?B?" . base64_encode(jcodeconvert($Subject_name, 0, 3)) . "?=";
127 $str = "団体名:".$PHP_POST_DB_USER_NAME."\n\n"; 128 $str = "団体名:".$PHP_POST_DB_USER_NAME."\n\n";
128 $strComment = jcodeconvert($str, 1, 3).$strComment; 129 $strComment = jcodeconvert($str, 1, 3).$strComment;
129 -$intBool2 = mail($strToMob,$strSubject,$strComment,$Header1,"-f ".$strSubmitAdd);//登録者に送信 130 +$intBool2 = mail($strToMob,$strSubject,$strComment.jcodeconvert(group_admin_addr($strSubmitAdd), 1, 3),$Header1,"-f ".$NOREPLY_ADDR);//登録者に送信
130 if(!$intBool2){ 131 if(!$intBool2){
131 echo("メール送信に失敗しました。<tr>"); 132 echo("メール送信に失敗しました。<tr>");
132 echo "宛先:".$strToMob."<BR>"; 133 echo "宛先:".$strToMob."<BR>";
Please register or login to post a comment