°¡À̵å¶óÀΠȨÆäÀÌÁö www.guideline.co.kr
°¡À̵å¶óÀÎ, »ç¾÷ÀÚµî·Ï¹øÈ£ 109-03-42915, ¹®ÀÇÇϱâ
TEL 070-4155-6478, Since 2001, °³ÀÎÁ¤º¸Ãë±Þ¹æħ
¼­ºñ½º ½Åû ¼­ºñ½º ÀÌ¿ë¹ý My Setting ÀÌÇÏ ¸Þ´º´Â ȸ¿øÀ¸·Î ·Î±×ÀÎ ÇÏ¼Å¾ß ÇÕ´Ï´Ù. My µµ¸ÞÀÎ ÀÏ´ëÀÏ °Ô½ÃÆÇ °³ÀÎÁ¤º¸º¯°æ My DB My HDD ³³ºÎ ³»¿ªµî·Ï
¾ÆÀ̵ð
ºñ¹Ð¹øÈ£
¾ÆÀ̵ð/ºñ¹Ð¹øÈ£ ã±â
³×ÀÓ¼­¹ö Á¤º¸
1Â÷ ns.gnameserver.net
211.239.124.250
2Â÷ ns2.gnameserver.net
211.239.124.251
À¥È£½ºÆà ¿¬Àå ¾È³»
ÀÔ±Ý °èÁ Á¤º¸
¿ì¸®ÀºÇà ȨÆäÀÌÁö·Î »õâ ¿­±â
ÀºÇà: ¿ì¸®ÀºÇà
°èÁÂ: 810-184634-02-001
¿¹±ÝÁÖ: ÀüÀç¿ì
¼±³³°¡´É(°³¿ù¼ö °ü°è¾øÀ½)
(³³ºÎÀÚ¸í¿¡ ȸ¿ø ID·Î ÀÔ±Ý ÈÄ ³³ºÎ³»¿ªµî·Ï,ÀÏ´ëÀÏ °Ô½ÃÆÇ¿¡ ¾Ë·ÁÁÖ¼¼¿ä.)
Ä«µå°áÁ¦ ¿ä±Ý³³ºÎ
¼¼±Ý°è»ê¼­ ¹ßÇà ½Åû
Redhat Linux, Apache, Ant, Tomcat, Java, MySQL, PHP, Qmail, Python, vsftpd
(guideline QR code)
  Á¦¸ñ : PHP ¿¡¼­ ¿ÜºÎ smtp ¼­¹ö ÀÌ¿ëÇÏ±â ±Û ¹øÈ£  
±ÛÀÚ Å©±â : ±ÛÀÚ Å©°Ô ±ÛÀÚ ÀÛ°Ô
ÇÏ·ç 50Åë ÀÌ»óÀÇ ¸ÞÀÏÀ» ¹ß¼ÛÇÏ½Ç °æ¿ì ¿ÜºÎÀÇ smtp ¼­¹ö¸¦
ÀÌ¿ëÇÒ °æ¿ì°¡ »ý±é´Ï´Ù. Java ÀÇ °æ¿ì´Â ÀÚ¹Ù¸ÞÀÏ API ¸¦
ÀÌ¿ëÇÏ½Ã¸é µË´Ï´Ù¸¸, PHP ÀÇ °æ¿ì´Â Linux ¹öÀü¿¡¼­´Â µû·Î
¶óÀ̺귯¸®¸¦ ÀÌ¿ëÇÏ¼Å¾ß ÇÕ´Ï´Ù.

´ÙÀ½Àº smtp class ¶óÀ̺귯¸®ÀÇ ¿¹Á¦ÀÔ´Ï´Ù.

´Ù¿î¹ÞÀ¸½Ç ÁÖ¼Ò´Â http://www.phpclasses.org/browse.html/package/14.html ÀÔ´Ï´Ù.

¾Æ·¡´Â ÀúÈñ°¡ ÀÛ¼ºÇÑ ¿¹Á¦ÀÔ´Ï´Ù.

smtp_host_name ¿¡´Â »ç¿ëÇÏ½Ç ¿ÜºÎ smtp ¼­¹öÀÇ È£½ºÆ®¸íÀ» ÀÔ·ÂÇϽøé
µË´Ï´Ù. ÀÚ½ÅÀÇ PC ¸¦ smtp ¼­¹ö·Î »ç¿ëÇϽǷÁ¸é ÀÚ½ÅÀÇ PC ÀÇ IP ¸¦
ÀÔ·ÂÇÏ½Ã¸é µË´Ï´Ù.

<?php
if ($flag == "") {
?>
<html>
<title>Smtpclass Example</title>
<body>
<form method=post action="smtpclass.php">
<input type=hidden name=flag value="ok">
<table border=0 width=500>
<tr>
<td>smtp ¼­¹ö ÁÖ¼Ò</td>
<td><input type=text name=smtp_host_name size=30></td>
</tr>
<tr>
<td>From:</td>
<td><input type=text name=smtp_from size=30></td>
</tr>
<tr>
<td>To:</td>
<td><input type=text name=smtp_to size=30></td>
</tr>
<tr>
<td>Subject:</td>
<td><input type=text name=smtp_subject size=80></td>
</tr>
<tr>
<td>Body:</td>
<td><textarea name=body cols=80 rows=10></textarea></td>
</tr>
<tr>
<td colspan=2 align=center><input type=submit value="Send"></td>
</tr>
</table>
</fotm>
</body>
</html>
<?php
}
else if ($flag == "ok") {
require("smtp.php");

$smtp = new smtp_class;

if(!function_exists("GetMXRR")) {
$_NAMESERVERS=array();
include("getmxrr.php");
}


$smtp->host_name = $smtp_host_name;
$smtp->localhost = "localhost";
$smtp->direct_delivery=0; /* Set to 1 to deliver directly to the recepient SMTP server */
$smtp->debug=0; /* Set to 1 to output the communication with the SMTP server */
$smtp->user=""; /* Set to the user name if the server requires authetication */
$smtp->realm=""; /* Set to the authetication realm, usually the authentication user e-mail domain */
$smtp->password=""; /* Set to the authetication password */

$body = $body;
$from = $smtp_from;
$bodytext = stripslashes($body);
$subject = $smtp_subject;
$to = $smtp_to;

if ($smtp->SendMessage($from, array($to),
array(
"From: $from",
"To: $to",
"Subject: $subject",
"Date: ".strftime("%a, %d %b %Y %H:%M:%S %Z")
),
"$bodytext"))
echo "$to Mail Send Success!n";
else {
echo "$to Mail Send Failed!!nError: ".$smtp->error."n";
}
}
?>

µî·ÏÀÏ   2003-03-31
Á¶È¸¼ö   26565
´ÙÀ½±Û : À¥¸ÞÀÏ¿¡¼­ ¿ÜºÎ¸ÞÀÏ(POP3) ÀÌ¿ëÇϱâ (2003-04-02)
Jakarta Struts ÀÌ¿ë¹ý (2003-02-21) : ÀÌÀü±Û

°¡À̵å¶óÀÎ [¼­ºñ½º ÀÌ¿ë¹ý] Á¦¸ñ ³»¿ë  
¹øÈ£ ¼­ºñ½º ÀÌ¿ë¹ý Á¶È¸ µî·ÏÀÏ
63 °¡À̵å¶óÀÎ À¥È£½ºÆà Àüü ÆÐÅ°Áöº° ¿ä±ÝÇ¥ 39743 2003-07-08
62 JSTL - JavaServerPage Standard Tag Library 23227 2003-07-07
61 Á¤ÁöµÈ ¼­ºñ½ºÀÇ º¹¿ø, ¿ä±Ý ¹Ì³³ Á¤Áö ¾È³» 18382 2003-06-03
60 ´Üµ¶ ¾ÆÆÄÄ¡ ¼­¹ö¿¡ ´ëÇÑ ¼³¸íÀÔ´Ï´Ù. 30758 2003-05-19
59 °Ô½ÃÆÇ,¹æ¸í·Ï,Ä«¿îÅÍ ÀÌ¿ëÀº ¾î¶»°Ô Çϳª¿ä? 27180 2003-05-19
58 ¹«·á FTP ´Ù¿î·Îµå ¹Þ±â 31820 2003-05-10
57 ¼¼±Ý°è»ê¼­ ¹ßÇà ½Åû ¹æ¹ý 18998 2003-04-14
56 À¥¸ÞÀÏ¿¡¼­ ¿ÜºÎ¸ÞÀÏ(POP3) ÀÌ¿ëÇϱâ 19502 2003-04-02
55 PHP ¿¡¼­ ¿ÜºÎ smtp ¼­¹ö ÀÌ¿ëÇϱâ 26565 2003-03-31
54 Jakarta Struts ÀÌ¿ë¹ý 25250 2003-02-21
53 SMS µ¥¸ó ¶Ç´Â PG Ä«µå°áÁ¦ µ¥¸ó ÀÌ¿ë ¾È³» 20472 2003-01-22
52 Tomcat3 ¿Í Tomcat4ÀÇ ÇѱÛó¸® Â÷ÀÌÁ¡ 42552 2003-01-20
51 Ãß°¡ µµ¸ÞÀÎ ½Åû ¹æ¹ý ¹× Àû¿ë ³»¿ë (¿©·¯µµ¸ÞÀÎ Àû¿ë) 20386 2003-01-18
50 ÇÑ±Û µµ¸ÞÀÎ(ÇѱÛ.com) ¼­ºñ½º ½Åû ¾È³» 18015 2003-01-09
49 ÀÚ¹Ù¸ÞÀÏ(javamail) »ùÇà ¼Ò½ºÀÔ´Ï´Ù. 37654 2002-12-24
1 2 3 4 5 6 7 8


 
°¡À̵å¶óÀÎ, »ç¾÷ÀÚµî·Ï¹øÈ£ 109-03-42915, ´ëÇ¥ÀÚ ÀüÀç¿ì   TEL) 070-4155-6478  Åë½ÅÆǸŹøÈ£ 2022-¼­¿ï¼ººÏ-0661
¼­¿ï ¼ººÏ±¸ ¿ù°î·Î18±æ 5-11 101È£ °³ÀÎÁ¤º¸Ãë±Þ¹æħ, ÀÌ¿ë¾à°ü, ¹®ÀÇÇϱâ