11.Nas_1




.[zenaplus] 이메일 재인증 확인 메일입니다. 메세지 에러 발생 해결

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    각 파일명에 
    _update_mail3.php 
    _update_mail3_0.php 

    이렇게 사용하는데요... 

    이 둘의 파일 내용은 같은 내용이나 발송시에 html을 사용하는지 안하는지의 차이입니다.... 

    발송함수중에 

    mailer($zpcom, $mb_email, $admin[mb_email], $subject, $content, 0); 

    이런식으로 뒤에 0과 1이 올수 잇습니다.. 

    마찬가지로 0은 일반 1은 html입니다... 

    적절히 적용사용하시면 되실꺼 같습니다~\n
    [이 게시물은 관리자님에 의해 2013-11-18 21:29:50 11.H_BBS에서 이동 됨]
    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    11q.kr관리자님의 댓글

    11q.kr관리자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (210.♡.41.89) 작성일

    <a href="http://sir.co.kr/bbs/board.php?bo_table=g4_qa&amp;wr_id=21325&amp;page=1986" target="_blank">http://sir.co.kr/bbs/board.php?bo_table=g4_qa&amp;wr_id=21325&amp;page=1986</a><div><br></div><div><br></div><div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; ">그런데 문제가 한가지 생겼습니다.........<br></div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; "><font color="#cc0000"><font color="#990000">테스트 메일 html 소스보기를 해보니<br><strong>코딩이 메모장 한줄에&nbsp;끝도 없이 쫘악</strong>..... &lt;html&gt;&lt;head&gt;&lt;title&gt;브라우져타이틀&lt;/title&gt;&lt;meta http-equiv='Content-Type' content='text/html; charset=euc-kr'&gt;~~~~~~~~~~~~~</font></font></div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; "><br><strong>헉!!<br>이건 아닌데....&nbsp;<br><br><br></strong>아래와 같이 html 코딩을 내가 원하는 줄에서 줄바꾸기 하려면 어떻해야 할까요?<br>php에서 /n을 써서 줄바꾸기를&nbsp;했던거 같은데... ㅜㅜ<br>조언 부탁드립니다...<br><br><font color="#990000">&lt;html&gt;<br>&lt;head&gt;</font></div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; "><font color="#990000">&lt;title&gt;브라우져타이틀&lt;/title&gt;<br>&lt;meta http-equiv='Content-Type' content='text/html; charset=euc-kr'&gt;<br>&nbsp;~~~~~~~~~~~~~</font><font color="#cc0000"></font></div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; "><font color="#990000"><br></font>&nbsp;</div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; ">&nbsp;</div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; ">회원가입과 연동된&nbsp;메일발송 디자인들은 일반 페이지(html) 작업하듯이 하면 되는데...</div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; ">회원메일 발송페이지 쪽은 어려운거 같아요. ㅜㅜ<br></div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; ">bbs/register_form_update_mail1.php&nbsp; // 회원가입축하 메일 (회원님께 발송)<br>bbs/register_form_update_mail2.php&nbsp; // 회원가입 메일 (관리자 메일로 발송)<br>bbs/register_form_update_mail3.php&nbsp; // E-mail 수정시 인증 메일 (회원님께 발송)<br><br>&lt;?<br>// 회원가입축하 메일 (회원님께 발송)<br>if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가&nbsp;<br>?&gt;</div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; "><br>&lt;html&gt;<br>&lt;head&gt;<br>&lt;meta http-equiv="content-type" content="text/html; charset=&lt;?=$g4[charset]?&gt;"&gt;<br>&lt;title&gt;회원가입 축하 메일&lt;/title&gt;<br>&lt;/head&gt;</div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; ">&lt;style&gt;<br>body, th, td, form, input, select, text, textarea, caption { font-size: 12px; font-family:굴림;}<br>.line {border: 1px solid #868F98;}<br>&lt;/style&gt;</div><div style="color: rgb(51, 51, 51); font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; "><br>~~~~~~~~~~~~~~~~~~~~~<br></div><span style="font-family: gulim, 굴림, Verdana; line-height: 21px; ">서기님, 감사합니다. ^^&nbsp;</span><br style="font-family: gulim, 굴림, Verdana; line-height: 21px; "><span style="font-family: gulim, 굴림, Verdana; line-height: 21px; ">'는 오류가 나구여.. "로 하니까 정상적으로 되는거 같습니다.&nbsp;</span><br style="font-family: gulim, 굴림, Verdana; line-height: 21px; "><span style="font-family: gulim, 굴림, Verdana; line-height: 21px; ">그래도 덕분에 문제를 해결할수 있어서 오늘 하루의 시작이 너무 즐겁습니다. ^^&nbsp;</span><br style="font-family: gulim, 굴림, Verdana; line-height: 21px; "><span style="font-family: gulim, 굴림, Verdana; line-height: 21px; ">좋은 하루 되세요.</span>\r\n</div>

    profile_image

    11q.kr관리자님의 댓글

    11q.kr관리자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (210.♡.41.89) 작성일

    <div style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; line-height: normal; background-image: url(http://sir.co.kr/skin/board/ggaggungisik/img/title_bg.gif); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(208, 208, 208); border-right-color: rgb(208, 208, 208); border-bottom-color: rgb(208, 208, 208); border-left-color: rgb(208, 208, 208); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; height: 34px; clear: both; background-repeat: repeat no-repeat; "><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td style="padding-top: 8px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; "><div class="skin_subject" style="font-weight: bold; font-size: 13px; color: rgb(80, 80, 80); word-break: break-all; ">회원메일보내기와 메일테스트에서 내용전송안됨...</div></td><td align="right" width="120" style="padding-top: 6px; padding-right: 6px; padding-bottom: 0px; padding-left: 0px; "><a href="http://sir.co.kr/bbs/board.php?bo_table=g4_qa&amp;wr_id=64946&amp;sca=&amp;sfl=wr_subject||wr_content&amp;stx=회원메일&amp;sop=and&amp;page=3" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><img src="http://sir.co.kr/skin/board/ggaggungisik/img/btn_scrap.gif" border="0" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></a>&nbsp;<a href="http://sir.co.kr/bbs/board.php?bo_table=g4_qa&amp;wr_id=64946&amp;sca=&amp;sfl=wr_subject||wr_content&amp;stx=회원메일&amp;sop=and&amp;page=3" title="주소 복사" style="text-decoration: none; color: rgb(34, 34, 34); letter-spacing: 0px; " target="_blank"><img src="http://sir.co.kr/skin/board/ggaggungisik/img/btn_trackback.gif" border="0" alt="" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></a></td></tr></tbody></table></div><div style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; font-size: 1px; line-height: 1px; background-image: url(http://sir.co.kr/skin/board/ggaggungisik/img/title_shadow.gif); height: 3px; background-repeat: repeat no-repeat; "></div><table border="0" cellpadding="0" cellspacing="0" width="100%" style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; "><tbody><tr><td height="30" background="http://sir.co.kr/skin/board/ggaggungisik/img/view_dot.gif" style="color: rgb(136, 136, 136); "><div style="float: left; ">&nbsp;글쓴이 :&nbsp;<a href="http://sir.co.kr/bbs/board.php?bo_table=g4_qa&amp;wr_id=64946&amp;sca=&amp;sfl=wr_subject||wr_content&amp;stx=회원메일&amp;sop=and&amp;page=3" title="[joy4421]가랑비67" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><span class="member">가랑비67</span></a></div><div style="float: right; ">포인트 : 500점 &nbsp;<img src="http://sir.co.kr/skin/board/ggaggungisik/img/icon_view.gif" border="0" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">&nbsp;조회 : 840 &nbsp;</div></td></tr><tr><td height="150" style="word-break: break-all; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; "><div id="writeContents" style="color: rgb(51, 51, 51); "><div>IIS + PHP + MySql + 그누보드4&nbsp; 로 셋팅되어 있습니다</div><div>&nbsp;</div><div><span style="background-color: yellow; color: red; ">회원메일</span>보내기와 메일테스트해서 메일을 보내면</div><div>&nbsp;</div><div>메일에 내용이 하나도 없이 전달됩니다.</div><div>&nbsp;</div><div>메일은 정상적으로 들어오는데&nbsp; 내용이 아무것도 없는채로 오는데</div><div>&nbsp;</div><div>이유를 알 수가 없네요.</div><div align="right" style="margin-top: 10px; "><a class="post_singo" href="http://sir.co.kr/bbs/singo.php?bo_table=g4_qa&amp;wr_id=64946" target="_blank" style="text-decoration: none; color: rgb(0, 91, 89); "><img src="http://sir.co.kr/img/icon_singo.gif" alt="게시물 신고" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></a></div><div style="clear: both; "></div></div><a href="http://sir.co.kr/bbs/board.php?bo_table=g4_qa&amp;wr_id=64946&amp;sca=&amp;sfl=wr_subject||wr_content&amp;stx=회원메일&amp;sop=and&amp;page=3" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"></a><a href="http://sir.co.kr/bbs/board.php?bo_table=g4_qa&amp;wr_id=64946&amp;sca=&amp;sfl=wr_subject||wr_content&amp;stx=회원메일&amp;sop=and&amp;page=3" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"></a></td></tr></tbody></table><br style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; line-height: normal; "><div id="commentContents" style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; line-height: normal; "><a name="c_64972"></a><table width="100%" cellpadding="0" cellspacing="0" border="0"><tbody><tr><td></td><td width="100%"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td height="1" colspan="3" bgcolor="#dddddd"></td><td></td></tr><tr><td height="1" colspan="3"></td></tr><tr><td valign="top"><div style="height: 28px; background-image: url(http://sir.co.kr/skin/board/ggaggungisik/img/co_title_bg.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; clear: both; line-height: 28px; "><div style="float: left; margin-top: 2px; margin-right: 0px; margin-bottom: 0px; margin-left: 2px; "><strong><a href="http://sir.co.kr/bbs/board.php?bo_table=g4_qa&amp;wr_id=64946&amp;sca=&amp;sfl=wr_subject||wr_content&amp;stx=회원메일&amp;sop=and&amp;page=3" title="[chie00]치에" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><img src="http://sir.co.kr/data/member/ch/chie00.gif" width="22" height="22" align="absmiddle" border="0" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">&nbsp;<span class="member" style="font-weight: normal; ">치에</span></a></strong>&nbsp;<span style="color: rgb(136, 136, 136); font-size: 11px; ">07-07-06 15:46</span></div><div style="float: right; margin-top: 5px; "><a href="http://sir.co.kr/bbs/board.php?bo_table=g4_qa&amp;wr_id=64946&amp;sca=&amp;sfl=wr_subject||wr_content&amp;stx=회원메일&amp;sop=and&amp;page=3" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><img src="http://sir.co.kr/skin/board/ggaggungisik/img/co_btn_reply.gif" border="0" align="absmiddle" alt="답변" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></a>&nbsp;&nbsp;</div></div><div style="line-height: 20px; padding-top: 7px; padding-right: 7px; padding-bottom: 7px; padding-left: 7px; word-break: break-all; overflow-x: hidden; overflow-y: hidden; clear: both; "><span class="skin_contents" style="font-family: gulim, 굴림, Verdana; line-height: 21px; "><br>혹시 그누보드 uft-8을 설치하셨나요?&nbsp;<br>저는 utf-8일때 메일 보내기 하니 내용이 나오지 않던 오류가 발생하더라구요.&nbsp;<br>메일 폼 스킨을 기본으로 바꾸니 내용이 나오던데..&nbsp;<br>basic스킨인데도 내용이 보이지 않는지요?&nbsp;<br><br>그렇다면..&nbsp;<br>팁이나 질답에서 iconv로 검색해보시면..&nbsp;<br>utf-8을 euc-kr로 변환하는 방법이 있습니다. 이부분을 적용해보세요.</span></div></td></tr></tbody></table></td></tr></tbody></table></div>

    profile_image

    최고관리자님의 댓글

    no_profile 최고관리자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (210.♡.41.89) 작성일

    <a href="http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&amp;wr_id=7141&amp;sca=&amp;sfl=&amp;stx=&amp;sst=&amp;sod=&amp;spt=&amp;page=2" target="_blank">http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&amp;wr_id=7141&amp;sca=&amp;sfl=&amp;stx=&amp;sst=&amp;sod=&amp;spt=&amp;page=2</a><div><br></div><div><div style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; height: 28px; background-image: url(http://www.sir.co.kr/skin/board/basic_v14/img/co_title_bg.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; clear: both; line-height: 28px; "><div style="float: left; margin-top: 2px; margin-right: 0px; margin-bottom: 0px; margin-left: 2px; "><strong><a href="http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&amp;wr_id=7141&amp;sca=&amp;sfl=&amp;stx=&amp;sst=&amp;sod=&amp;spt=&amp;page=2" title="[dreamssh]푸름빠덜" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><span class="member" style="font-weight: normal; ">푸름빠덜</span></a></strong>&nbsp;<span style="color: rgb(136, 136, 136); font-size: 11px; ">06-08-29 20:50</span></div><div style="float: right; margin-top: 5px; "><a href="http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&amp;wr_id=7141&amp;sca=&amp;sfl=&amp;stx=&amp;sst=&amp;sod=&amp;spt=&amp;page=2" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><img src="http://www.sir.co.kr/skin/board/basic_v14/img/co_btn_reply.gif" border="0" align="absmiddle" alt="답변" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></a>&nbsp;<a class="post_singo" href="http://www.sir.co.kr/bbs/singo.php?bo_table=g4_tiptech&amp;wr_id=7167" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><img src="http://www.sir.co.kr/img/icon_singo.gif" alt="게시물 신고" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></a>&nbsp;&nbsp;</div></div><div style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; line-height: 20px; padding-top: 7px; padding-right: 7px; padding-bottom: 7px; padding-left: 7px; word-break: break-all; overflow-x: hidden; overflow-y: hidden; clear: both; ">/bbs/write_comment_update.php에서&nbsp;<br><br>&nbsp; &nbsp; // 답변 메일받기 (원게시자에게 보내는 메일)&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if ($wr[wr_recv_email] &amp;&amp; $wr[wr_email] &amp;&amp; $wr[wr_email] != $admin[mb_email])&nbsp;&nbsp;<br><br>이거를.............................&nbsp;<br>&nbsp; &nbsp; if ($wr[wr_email] &amp;&amp; $wr[wr_email] != $admin[mb_email])&nbsp; 이렇게 바꿔보세요&nbsp;<br><br><br>그누보드에서 메일발송 완벽히 되는 그날까지 투혼을...........</div></div><div style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; line-height: 20px; padding-top: 7px; padding-right: 7px; padding-bottom: 7px; padding-left: 7px; word-break: break-all; overflow-x: hidden; overflow-y: hidden; clear: both; "><div style="height: 28px; background-image: url(http://www.sir.co.kr/skin/board/basic_v14/img/co_title_bg.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; clear: both; line-height: 28px; "><div style="float: left; margin-top: 2px; margin-right: 0px; margin-bottom: 0px; margin-left: 2px; "><strong><a href="http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&amp;wr_id=7141&amp;sca=&amp;sfl=&amp;stx=&amp;sst=&amp;sod=&amp;spt=&amp;page=2" title="[nicman]용용이아빠" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><span class="member" style="font-weight: normal; ">용용이아빠</span></a></strong>&nbsp;<span style="color: rgb(136, 136, 136); font-size: 11px; ">08-06-21 22:50</span></div><div style="float: right; margin-top: 5px; "><a href="http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&amp;wr_id=7141&amp;sca=&amp;sfl=&amp;stx=&amp;sst=&amp;sod=&amp;spt=&amp;page=2" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><img src="http://www.sir.co.kr/skin/board/basic_v14/img/co_btn_reply.gif" border="0" align="absmiddle" alt="답변" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></a>&nbsp;<a class="post_singo" href="http://www.sir.co.kr/bbs/singo.php?bo_table=g4_tiptech&amp;wr_id=15995" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><img src="http://www.sir.co.kr/img/icon_singo.gif" alt="게시물 신고" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></a>&nbsp;&nbsp;</div></div><div style="padding-top: 7px; padding-right: 7px; padding-bottom: 7px; padding-left: 7px; word-break: break-all; overflow-x: hidden; overflow-y: hidden; clear: both; ">그누보드에서 메일발송이 안된다는 질문이 꽤나 올라 오더군요.&nbsp;<br><br>관리자-기본환경설정하고 게시판 메일발송 허용을 체크한 상태하에서 논해봅니다.&nbsp;<br><br>예를 들어 게시글 작성후 관리자에게로 메일 발송이 안되는 문제보겠습니다&nbsp;<br><br>/bbs/write_update.php의 약 490번째줄에&nbsp;<br><br>&nbsp; &nbsp; if ($super_admin[mb_email] != $board_admin[mb_email])&nbsp; &nbsp; {&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if ($config[cf_email_wr_super_admin]){&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mailer($wr_name, $wr_email, $super_admin[mb_email], $subject, $content, 1);&nbsp;<br>}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br><br>$super_admin[mb_email] 값과 $board_admin[mb_email] 이값이 모두 같이 나와서 안되더군요&nbsp;<br>왜 똑같이 나올까 추적했더니...&nbsp;<br>/lib/common.lib.php의 650줄쯤에 get_admin()함수내용중에&nbsp;<br><br>---------------------------------------------------&nbsp;<br>&nbsp;if (($is &amp;&amp; !$mb[mb_id]) || $admin == 'group') {&nbsp;<br>&nbsp; $mb = sql_fetch("select * from $g4[member_table] where mb_id in ('$group[gr_admin]') limit 1 ");&nbsp;<br>&nbsp; $is = true;&nbsp;<br>&nbsp; }&nbsp;<br><br>&nbsp;if (($is &amp;&amp; !$mb[mb_id]) || $admin == 'super') {&nbsp;<br>&nbsp;$mb = sql_fetch("select * from $g4[member_table] where mb_id in ('$config[cf_admin]') limit 1 ");&nbsp;<br>&nbsp;}&nbsp;<br>---------------------------------------------------------&nbsp;<br><br>&nbsp;이 부분 소스를 아래처럼&nbsp;<br>---------------------------------------------------------&nbsp;<br>&nbsp; if ($admin == 'group') {&nbsp; //##add&nbsp;<br>&nbsp; $mb = sql_fetch("select * from $g4[member_table] where mb_id in ('$group[gr_admin]') limit 1 ");&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; $is = true;&nbsp;<br>&nbsp; &nbsp; }&nbsp;<br><br>&nbsp; if ($admin == 'super') {&nbsp; //##add&nbsp;<br>&nbsp; $mb = sql_fetch("select * from $g4[member_table] where mb_id in ('$config[cf_admin]') limit 1 ");&nbsp;<br>&nbsp; &nbsp; }&nbsp;<br>---------------------------------------------------------&nbsp;<br>바꾸니 글등록시 관리자에게 메일이 잘가고 또한 답변글 등록시 원글 작성자에게 메일이 잘 가더군요&nbsp;<br><br>게시판관리자의 이메일이 존재하지 않으면 슈퍼어드민의 이메일을 뽑아오기때문에&nbsp; &nbsp; if ($super_admin[mb_email] != $board_admin[mb_email])&nbsp; 이문장에서 false로 되어 메일발송 함수가 실행이 안된거 같슴다&nbsp;<br><br>그렇다면 get_admin()함수에서 ($is &amp;&amp; !$mb[mb_id])&nbsp; 이런 문장이 필요한 이유는 왜일까요&nbsp; 혹 이부부분에 대해 아시는분 댓글 부탁합니다&nbsp;<br><br><br><br>그리고 옥의 티인거 같은데 /bbs/write_update.php 507줄 부분에&nbsp;<br><br>&nbsp; &nbsp; // 답변 메일받기 (원게시자에게 보내는 메일)&nbsp;<br>&nbsp; &nbsp; if (strstr($wr[wr_option], "mail") &amp;&amp; $wr[wr_email] &amp;&amp; $wr[wr_email] != $admin[mb_email])&nbsp;<br><br>이 부분이&nbsp;<br>&nbsp; &nbsp; if (strstr($wr[wr_option], "mail") &amp;&amp; $wr[wr_email] &amp;&amp; $wr[wr_email] != $wr_email)&nbsp;<br><br>이렇게 바뀌어야 할거 같은데 왜냐하면 $admin[mb_email] 값은 존재 하지 않아서입니다&nbsp;<br><br>맞는건지 틀린건지는 댓글 달아주세요&nbsp;<br><br>(참고로 그래도 관리자에게 메일이 안오면 관리자메일주소를 다른 것으로 변경해서 테스트해보세요)</div></div>

    profile_image

    최고관리자님의 댓글

    no_profile 최고관리자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (210.♡.41.89) 작성일

    <div style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); border-image: initial; clear: both; height: 34px; background-image: url(http://sir.co.kr/skin/board/basic_v14/img/title_bg.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: repeat no-repeat; "><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; padding-top: 8px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; "><div style="color: rgb(80, 80, 80); font-size: 13px; font-weight: bold; ">메일 발송 사용에 체크해도 답변글 적은 후 이메일이 오지 않는 문제 수정함.</div></td><td align="right" width="120" style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; padding-top: 6px; padding-right: 6px; padding-bottom: 0px; padding-left: 0px; "><a href="http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&amp;wr_id=6006&amp;page=105" title="주소 복사" style="text-decoration: none; color: rgb(34, 34, 34); letter-spacing: 0px; " target="_blank"><img src="http://sir.co.kr/skin/board/basic_v14/img/btn_trackback.gif" alt="" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></a></td></tr></tbody></table></div><div style="height: 3px; background-image: url(http://sir.co.kr/skin/board/basic_v14/img/title_shadow.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; line-height: 1px; font-size: 1px; background-position: initial initial; background-repeat: repeat no-repeat; "></div><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td height="30" background="http://sir.co.kr/skin/board/basic_v14/img/view_dot.gif" style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; color: rgb(136, 136, 136); "><div style="float: left; ">&nbsp;글쓴이 :&nbsp;<a href="http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&amp;wr_id=6006&amp;page=105" title="[bubicom]부비컴" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><span class="member">부비컴</span></a></div><div style="float: right; "><img src="http://sir.co.kr/skin/board/basic_v14/img/icon_view.gif" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">&nbsp;조회 : 1,898 &nbsp;<img src="http://sir.co.kr/skin/board/basic_v14/img/icon_good.gif" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">&nbsp;추천 : 5 &nbsp;</div></td></tr><tr><td height="150" style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; word-break: break-all; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; "><div id="writeContents" style="color: rgb(51, 51, 51); ">메일 설정&nbsp; 메일 발송 사용에 체크해도 답변글 적은 후 이메일이 오지 않는 문제 수정함.&nbsp; &nbsp; &nbsp;&nbsp;<br><br>메일발송 사용 사용 (체크하지 않으면 메일발송을 아예 사용하지 않습니다. 메일 테스트도 불가합니다.)&nbsp;<br><br><br>/bbs/write_update.php 의 500line을 수정함.&nbsp;<br>//if ($config[cf_email_wr_write])&nbsp; &nbsp; 이렇게 생긴 것을 지우고..&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if ($config[cf_email_use])&nbsp; 이부분을 넣는 다.&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mailer($wr_name, $wr_email, $wr[wr_email], $subject, $content, 1);<br class="Apple-interchange-newline"></div></td></tr></tbody></table>

    profile_image

    최고관리자님의 댓글

    no_profile 최고관리자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (210.♡.41.89) 작성일

    http://sir.co.kr/bbs/tb.php/g4_tiptech/3170/b742c9d165385e84756f1871933af989<div><br></div><div><div style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; line-height: normal; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); border-image: initial; clear: both; height: 34px; background-image: url(https://sir.co.kr/skin/board/basic_v14/img/title_bg.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-repeat: repeat no-repeat; "><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td style="padding-top: 8px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; "><div style="color: rgb(80, 80, 80); font-size: 13px; font-weight: bold; ">그누 회원 메일 보내기 에러 잡기</div></td><td align="right" width="120" style="padding-top: 6px; padding-right: 6px; padding-bottom: 0px; padding-left: 0px; "><a href="https://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&amp;wr_id=3170" title="주소 복사" style="text-decoration: none; color: rgb(34, 34, 34); letter-spacing: 0px; " target="_blank"><img src="https://sir.co.kr/skin/board/basic_v14/img/btn_trackback.gif" alt="" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></a></td></tr></tbody></table></div><div style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; height: 3px; background-image: url(https://sir.co.kr/skin/board/basic_v14/img/title_shadow.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; line-height: 1px; font-size: 1px; background-repeat: repeat no-repeat; "></div><table border="0" cellpadding="0" cellspacing="0" width="100%" style="font-family: Dotum, 돋움, Tahoma, Geneva, sans-serif; "><tbody><tr><td height="30" background="https://sir.co.kr/skin/board/basic_v14/img/view_dot.gif" style="color: rgb(136, 136, 136); "><div style="float: left; ">&nbsp;글쓴이 :&nbsp;<a href="https://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&amp;wr_id=3170" title="[akakitory]쿠츠" style="text-decoration: none; color: rgb(34, 34, 34); " target="_blank"><span class="member">쿠츠</span></a></div><div style="float: right; "><img src="https://sir.co.kr/skin/board/basic_v14/img/icon_view.gif" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">&nbsp;조회 : 1,523 &nbsp;<img src="https://sir.co.kr/skin/board/basic_v14/img/icon_good.gif" align="absmiddle" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">&nbsp;추천 : 0 &nbsp;</div></td></tr><tr><td height="150" style="word-break: break-all; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; "><div id="writeContents" style="color: rgb(51, 51, 51); ">그누 메일로 한참을 고생하다 결국 회원 메일 보내기 까지 성공 (^^)하야&nbsp;<br>간단히 적어 봄니다.&nbsp;<br><br>윈도우의 IIS로 설정하신 분들중에 메일 때문에 고생하시는 분들이 많은 것으로 알고 있습니다.&nbsp;<br>테스트 메일에서 메일 발송이 안되는 경우는 질문과 답면에 제 닉으로 검색해 보시면 나오는데&nbsp;<br>간략히 설명하자면 mail.lib.php의 헤더설정 부분에 모든 공백과 /n을 /r/n으로 치환하고 메일&nbsp;<br>함수 부분에 변수가 제대로 설정 되었는지 확인하시면 잘 됩니다.&nbsp;<br><br>너무 긴 내용이라 일단 졸린김에 생략하겠습니다. ^^;;&nbsp;<br><br>그리고 메일 테스트까지 성공하셨는데, 회원메일을 보내기 위하여 '테스트'링크를 클릭하여&nbsp;<br>SMTP 550 Invalid Adress를 보신다면 아래와 같이 수정하시면 됩니다.&nbsp;<br>(물론 그냥 보내지는 경우가 있는데 보내는 사람이 홈페이지 제목(그누타이틀)으로 보내짐)&nbsp;<br><br>/adm/mail_test.php, /adm/mail_select_update.php&nbsp; 2r개의 파일을 오픈하여&nbsp;<br>mailer 함수 부분을 찾습니다.&nbsp;<br><br>기존에&nbsp;<br>mailer($config[cf_title],$member[mb_email],$member[mb_email],$subject,$content,1);&nbsp;<br>로 되어 있는 부분을&nbsp;<br>mailer($member[mb_nick],$member[mb_email],$member[mb_email],$subject,$content,1);&nbsp;<br>로 변경하여 주면 멤버 닉네임으로 보내는 사람이 표시가 됩니다.&nbsp;<br><br>mailer 함수에 첫번째로 정의 되어 있는 $config[cf_title]가 제대로 설정 되어 있지 않거나&nbsp;<br>잘못 되어 있으면 에러가 발생하니 닉네임 혹은 아이디 등 표시하시고 싶으신 변수로 치환하여&nbsp;<br>넣어주시면 됩니다.&nbsp;<br><br>별로 팁 같지도 않은데 저도 일단 잠시 헤멧고, 잘 모르시는 분들이 계셔서 팁란에 올립니다.&nbsp;<br><br>아우 윈도에 IIS로 하니 문제가 많이 나오네요... 리눅에 아파치 써버릴걸 그랬나 봅니다.</div></td></tr></tbody></table></div>

    profile_image

    최고관리자님의 댓글

    no_profile 최고관리자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (210.♡.41.89) 작성일

    <div class="comment_area" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana, Helvetica, sans-serif; color: rgb(51, 51, 51); float: left; width: 680px; line-height: normal; text-align: left; "><div class="comment_list" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><div class="content" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 10px; padding-left: 5px; float: left; width: 680px; overflow-x: hidden; overflow-y: hidden; ">이메일 인증,인증확인이&nbsp; 해결 되었습니다&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">============================================&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">사용조건은 synology ds-712p,그누보드,제나빌드 사용&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">이메일서버 smtp.gmail.com사용&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">문제점 : 인증메일은 가는데 인증메세지 발송 않됨거나 HTML코드 인식문제점&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">수정부분은 plug/email_certify_result.php이 코드에서 수정 문제해결&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">---------------------------------------------------------------------------------&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">.... 변경전.....&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">.....&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">include_once ("$g4[bbs_path]/register_form_update_mail3_0.php");&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">......&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">mailer($admin[mb_nick], $admin[mb_email], $mb_email, $subject, $content, 0);&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">.....변경후&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">..........&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">//include_once (../../bbs/register_form_update_mail3.php);&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">.....&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">mailer($admin[mb_nick], $admin[mb_email], $mb_email, $subject, $content, 1);&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">.......&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1px; height: 10px; line-height: 10px; ">.........................질문에 답변을 주신 관리자님 감사 드립니다.\r\n</div></div></div>




    • 일간 조회수
        • 게시물이 없습니다.
    • 주간 조회수
        • 게시물이 없습니다.
    • 월간 조회수
        • 게시물이 없습니다.


    Total 1,746 / 51 Page
    [ VMware vSphere 6 Hypervisor esxi 라이센스 할당 입력하기 ] 댓글 1

    사이트 접속 라이센스를 부료로 부여받아 esxi 에 입력 하는 방법 입니다-------------------------------------- …

    [ 성공)MctvPlaylistCreator_to_tvhelper로png파일만들어_EPG채널이름지정하기및 201… ] 댓글 51

    MctvPlaylistCreator_to_tvhelper로png파일만들어_EPG채널이름지정하기아래 관련 파일 모두 저장 보관 합니다.MctvPl…

    [ 펌자료) EPG 정보를 이용하는 몇가지 방법. ]

    본문 자료는 링크 펌자료 입니다EPG 정보를 이용하는 몇가지 방법.프로그램개발/Tvheadend2016.08.23 23:08뷰어댓글로이전글다음글…

    [ 용량부족으로 외장하드를 기본볼륨으로 만들기 ]

    -용량부족으로 인해 외장하드를 기본볼륨으로 사용할 방법을 찾고있습니다.오태화2015-08 조회 2998 추천 0/etc/synoinfo.conf…

    [ 자료펌)Tvheadend 녹화폴더 경로 변경하기. ]

    사용조건에 저의 경우tvheadend 녹화 file not created 녹화 중지 대응및 녹화폴더 변경 하기https://11q.kr/g5s/…

    [ iptv시청과 iptime공유기 확인 사항과 20170717 채널 서치 ] 댓글 156

    첫번째)공유기 밑에 iptv 시청하면서 ip 확인 하는 방법MBC Sports+__를 보고 있습니다 , 주소는udp://239.192.59.3:…

    [ 원도우 10 + vmware +.jun's loader 1.02b 사용조건 dsm6.1.2에서 dsm6.1.… ]

    원도우 10 + vmware +.jun's loader 1.02b 사용조건 dsm6.1.2에서 dsm6.1.3 이상없이 업데이트 하였습니다.DS…

    [ 펌) 헤놀로지 새로운 시리얼과 MAC주소 생성기(test전) ] 댓글 56

    헤놀로지새로운 시리얼과 MAC주소 생성기https://redmilk.co.kr/archives/4883디랙토리만들어 압축해제후1)파일관리자 실행…

    [ VMware 웹 사이트에서 VMware Tools 수동 다운로드 ]

    VMware 웹 사이트에서 VMware Tools 수동 다운로드으로블라단 세겟|최종 업데이트 :2013 년 6 월 14 일16주식15 명1VMw…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-04-20 07:07:35

    오늘의 홈 현황


    • 현재 접속자♨ 192 명
    • 오늘 가입자※ 1 명
    • 어제 가입자※ 7 명
    • 주간 가입자※ 15 명
    • 오늘 방문자 1,253 명
    • 어제 방문자 2,250 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,280,161 명
    • 전체 게시물※ 8,521 개
    • 전체 댓글수※ 24,485 개
    • 전체 회원수 10,913 명

    QR코드


    ☞ 사진기로 촬영하시면 방문링크 됩니다

    알림 0








    최신글↑