[zenaplus] 게시물 작성시 특정인에게 이메일 발송하기[확인 완료]
♨ 카랜더 일정 :
본문
- \r\n
- posted at: 2011-02-05 18:49:12 by 관리자\r\n
- HIT : 784 | 스크랩
코드 :
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 받을 사람의 이메일주소를 넣어주세요.
$emails[] = "test@test.com"; // 이메일주소1
$emails[] = "test2@test.com"; // 이메일주소2
$emails[] = "test3@test.com"; // 이메일주소3
$emails[] = "test4@test.com"; // 이메일주소4
$emails[] = "test5@test.com"; // 이메일주소5
$emails[] = "test6@test.com"; // 이메일주소6
// 계속 추가할 수 있습니다.
////////////////////////////////////////////////
if ($w == '')
{
$row = sql_fetch("select * from $write_table where wr_id = '$wr_id'");
if (strstr($row[wr_option], "html1"))
$tmp_html = 1;
else if (strstr($row[wr_option], "html2"))
$tmp_html = 2;
$wr_name = $row[wr_name];
$link_url = "$g4[url]/$g4[bbs]/board.php?bo_table=$bo_table&wr_id=$wr_id&$qstr";
include_once("$g4[path]/lib/mailer.lib.php");
include_once ("./write_update_mail.php");
$content = ob_get_contents();
ob_end_clean();
{
if ($email)
mailer($wr_name, $wr_email, $email, $subject, $content, 1);
}
}
?>
Homepc.11q.kr
========================\n\n[이 게시물은 관리자님에 의해 2013-06-10 09:15:54 12.H_PDS에서 이동 됨]\n
뷰PDF 1,2
office view
관련자료
댓글목록
최고관리자님의 댓글
최고관리자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일
<DIV>'12.Home_PDS' 게시판에 글이 올라왔습니다.</DIV>\r\n<DIV> 받은편지함</DIV>\r\n<DIV>x</DIV>\r\n<DIV> 최고관리자 </DIV>\r\n<DIV> 17:39 (9분 전)</DIV>\r\n<DIV> 나에게 </DIV>\r\n<DIV> DÊN÷DÊN÷s114 </DIV>\r\n<DIV> 답장</DIV>\r\n<DIV> 전달</DIV>\r\n<DIV> 최고관리자</DIV>\r\n<DIV>17:39 (9분 전)<BR>DÊN÷DÊN÷s114</DIV>\r\n<DIV>최고관리자 </DIV>\r\n<DIV> 17:39 (9분 전)<BR>ss1145에게 </DIV>\r\n<DIV><ÊN÷ÀK mail.com</DIV>
최고관리자님의 댓글
최고관리자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일
<DIV>// 게시판 글등록시 이메일 수신<BR>// 받을 사람의 이메일주소를 넣어주세요.</DIV>\r\n<DIV>$emails[] = "<A href="mailto:shimss@11q.ipdisk.co.kr" target=_blank>shimss@11q.ipdisk.co.kr</A>"; // 이메일주소1<BR>$emails[] = "<A href="mailto:shimss@11q.ipdisk.co.kr" target=_blank>shimss@11q.ipdisk.co.kr</A>"; // 이메일주소2<BR>//$emails[] = "<A href="mailto:test3@test.com" target=_blank>test3@test.com</A>"; // 이메일주소3<BR>//$emails[] = "<A href="mailto:test4@test.com" target=_blank>test4@test.com</A>"; // 이메일주소4<BR>//$emails[] = "<A href="mailto:test5@test.com" target=_blank>test5@test.com</A>"; // 이메일주소5<BR>//$emails[] = "<A href="mailto:test6@test.com" target=_blank>test6@test.com</A>"; // 이메일주소6</DIV>\r\n<DIV>// 계속 추가할 수 있습니다.<BR>////////////////////////////////////////////////</DIV>\r\n<DIV>if ($w == '')<BR>{<BR> $row = sql_fetch("select * from $write_table where wr_id = '$wr_id'");<BR> <BR> $wr_subject = get_text(stripslashes($row[wr_subject]));<BR> <BR> $tmp_html = 0;<BR> if (strstr($row[wr_option], "html1"))<BR> $tmp_html = 1;<BR> else if (strstr($row[wr_option], "html2"))<BR> $tmp_html = 2;<BR> <BR> $wr_content = conv_content(stripslashes($row[wr_content]), $tmp_html);<BR> $wr_name = $row[wr_name];<BR> <BR> $subject = "'{$board[bo_subject]}' 게시판에 글이 올라왔습니다.";<BR> $link_url = "$g4[url]/$g4[bbs]/board.php?bo_table=$bo_table&wr_id=$wr_id&$qstr";<BR> </DIV>\r\n<DIV> include_once("$g4[path]/lib/mailer.lib.php");<BR> <BR> ob_start();<BR> include_once ("./write_update_mail.php");<BR> $content = ob_get_contents();<BR> ob_end_clean();<BR> <BR> foreach($emails as $email)<BR> {<BR> if ($email)<BR> mailer($wr_name, $wr_email, $email, $subject, $content, 1);<BR> }<BR>}<BR></DIV>
-
일간 조회수
-
- 게시물이 없습니다.
-
-
주간 조회수
-
- ● 시놀로지 web station 의 웹 서비스 포털 설정에서 호스트 이름을 입력 생성시 … _조회수_댓글수( 9711 )
- ●squarespace 의 도메인 ssl 인증서 시놀로지 NAS에 SSL 인증서 적용 _조회수_댓글수( 5594 )
- ★★★ lets encrypt 인증서 재설치 acme.sh 시놀로지 멀티 인증서 만들기 ★… _조회수_댓글수( 5361 3 )
- ● ha작업) 멀티 도메인 적용 https://ha.ddns 를 시놀로지에 기본 인증서 적… _조회수_댓글수( 3418 )
- ● web page 공유폴더 구성하여 web site 만들기 _조회수_댓글수( 2780 )
-
-
월간 조회수
-
- ● 영상분석)시놀로지NAS에 네임서버 한방에 쉽게 셋팅하는 영상입니다 _조회수_댓글수( 22207 )
- ● 영상분석)도메인이란? 웹사이트에 나만의 도메인 등록하는 방법 (ft. HTTPS 평생 무료) _조회수_댓글수( 18368 2 )
- ● 시놀로지 dsm 7.2에서 nano 에디터 및 mc 파일관리자 설치 방법 _조회수_댓글수( 14104 )
- ★ squarespace.com 도메인 구입 dns 및 DNS Settings 연결 성공 _조회수_댓글수( 10976 1 )
- ● 시놀로지 web station 의 웹 서비스 포털 설정에서 호스트 이름을 입력 생성시 도메인 이… _조회수_댓글수( 9711 )
-
♥간단_메모글♥
-
등록일 04.15가입 인사드립니다.댓글 3
-
등록일 04.09가입인사.댓글 2
-
등록일 03.03안녕하세여댓글 1
-
등록일 02.13
최근글
새댓글
-
등록자 민후 등록일 08:35
-
등록자 하늘나라스타 등록일 07.03
-
등록자 황약사 등록일 07.03
-
등록자 치치 등록일 07.03
-
등록자 제리 등록일 07.03
오늘의 홈 현황
QR코드
☞ QR코드 스캔은 kakao앱 자체 QR코드