관리자 이메일 보낼시 이름문제 정보
관리자 이메일 보낼시 이름문제본문
안녕하세요
관리자 모드에서 권한이 변경되게 되면
해당 회원에게 이메일이 가게끔 했는데요
메일이 오는걸 보면
"관리자" 라고 오더군요
이걸 회사이름으로 바꾸고 싶은데
이름이 너무 길어서 바꾸기가 뭐하네요
직접적으로 건드려서 메일보내는곳만 회사이름으로 바꾸고 싶은데
어디서 바꿔야 할지 몰라서여;;
아래는 현재 쓰고 있는 소스입니다.
<?
// 회원가입축하 메일 (회원님께 발송)
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$g4[charset]?>">
<title>등급이 변경되었습니다</title>
</head>
<style>
body, th, td, form, input, select, text, textarea, caption { font-size: 12px; font-family:굴림;}
.line {border: 1px solid #868F98;}
</style>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25" height="25"></td>
<td height="25"></td>
<td width="25" height="25"></td>
</tr>
<tr>
<td width="25" valign="top"></td>
<td align="center" class="line" >
<br>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="500" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="100%" height="25" bgcolor=#F7F1D8>등급이 변경되었습니다</td>
</tr>
</table>
<p>
<table width="500" border="0" align="center" cellpadding="4" cellspacing="0">
<tr><td height="150">
<b><?=$mb[mb_name]?></b> 님의 등급이 변경되었습니다
<p>회원님의 성원에 보답하고자 더욱 더 열심히 하겠습니다.
<p>감사합니다.
</td></tr>
</table>
<p>
<table width="500" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed">
<tr>
<td height="2" bgcolor="#E0E0E0" align="center"></td>
</tr>
<tr>
<td height="25" bgcolor="#EDEDED" align="center">로그인 후 모든 정보를 이용하실 수 있습니다.[<a href="<?=$g4[url]?>/<?=$g4[bbs]?>/login.php">바로가기</a>]</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
</td>
<td width="25" valign="top"></td>
</tr>
</table>
</body>
</html>
관리자 모드에서 권한이 변경되게 되면
해당 회원에게 이메일이 가게끔 했는데요
메일이 오는걸 보면
"관리자" 라고 오더군요
이걸 회사이름으로 바꾸고 싶은데
이름이 너무 길어서 바꾸기가 뭐하네요
직접적으로 건드려서 메일보내는곳만 회사이름으로 바꾸고 싶은데
어디서 바꿔야 할지 몰라서여;;
아래는 현재 쓰고 있는 소스입니다.
<?
// 회원가입축하 메일 (회원님께 발송)
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$g4[charset]?>">
<title>등급이 변경되었습니다</title>
</head>
<style>
body, th, td, form, input, select, text, textarea, caption { font-size: 12px; font-family:굴림;}
.line {border: 1px solid #868F98;}
</style>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25" height="25"></td>
<td height="25"></td>
<td width="25" height="25"></td>
</tr>
<tr>
<td width="25" valign="top"></td>
<td align="center" class="line" >
<br>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="500" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="100%" height="25" bgcolor=#F7F1D8>등급이 변경되었습니다</td>
</tr>
</table>
<p>
<table width="500" border="0" align="center" cellpadding="4" cellspacing="0">
<tr><td height="150">
<b><?=$mb[mb_name]?></b> 님의 등급이 변경되었습니다
<p>회원님의 성원에 보답하고자 더욱 더 열심히 하겠습니다.
<p>감사합니다.
</td></tr>
</table>
<p>
<table width="500" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed">
<tr>
<td height="2" bgcolor="#E0E0E0" align="center"></td>
</tr>
<tr>
<td height="25" bgcolor="#EDEDED" align="center">로그인 후 모든 정보를 이용하실 수 있습니다.[<a href="<?=$g4[url]?>/<?=$g4[bbs]?>/login.php">바로가기</a>]</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
</td>
<td width="25" valign="top"></td>
</tr>
</table>
</body>
</html>
댓글 전체
이건 메일 본문이네요
어느 화일에서 발송하는지 모르겠으나 발송자 이름, 메일주소 등을 넣겨주는
mailer 라는 함수를 호출 하면서 설정 합니다
어느 화일에서 발송하는지 모르겠으나 발송자 이름, 메일주소 등을 넣겨주는
mailer 라는 함수를 호출 하면서 설정 합니다
이건 등급업을 하는 페이지에 소스입니다.. 이메일 보내는 소스로 재질문을 해주셔야합니다..