¾ÆÀ̵ð ºñ¹Ð¹øÈ£ | ȸ¿ø°¡ÀÔ | ºñ¹Ð¹øÈ£ºÐ½Ç
   
¡¡»õ·Î¿î¼Ò½Ä
¡¡FAQ
¡¡À¥ÇÁ·Î±×·¥
¡¡À¥DB
¡¡À¥¼­¹ö
¡¡À¥ÇÁ·Î±×·¥¼öÁ¤
¡¡ÇØÇÇÄ®·³
¡¡°ñµåÆÁ
 
Á¦ÀÛÀÇ·Ú
À¥ÇÁ·Î±×·¥ ÆǸŸô
 
ÇöÀçÀ§Ä¡: ¸ÞÀÎ ÇØÇÇÆ÷·³ FAQ : °Ô½Ã¹° Àбâ
  2000-10-19 (08:53:45) from 211.229.24.67
  ÀÛ¼ºÀÎ : HappyCGI Á¶È¸¼ö : 10920   
Á¦¸ñ : sendmailÀ» ÀÌ¿ëÇÑ html Çü½Ä ¸ÞÀϹ߼Û

¾È³çÇϼ¼¿ä. ÇØÇÇ CGI À¥¸¶½ºÅÍ À±¿µ¿õÀÔ´Ï´Ù.

sendmailÀ» ÀÌ¿ëÇÑ html Çü½ÄÀÇ ¸ÞÀÏ ¹ß¼ÛÀÇ Áú¹®ÀÌ ¸¹¾Æ Áö³×¿ä.

±ò²ûÈ÷ Á¤¸®¸¦ Çغ¸°Ú½À´Ï´Ù. ^^;;;

ÀÏ´Ü ¾Æ·¡´Â ±âº»ÀûÀ¸·Î sendmailÀ» ÀÌ¿ëÇÑ ·çƾÀÔ´Ï´Ù.

sub go_mail {} À̶ó´Â ¼­ºê·çƾÀ» ¿¹·Î µé¾î¼­ ÇÏ°Ú½À´Ï´Ù.



$send_mail Àº sendmailÀÇ °æ·Î

$shop_email Àº ¼ö½ÅÀÚ À̸ÞÀÏ

$shop_name Àº ¼ö½ÅÀÚ À̸ÞÀÏ

$name Àº º¸³»´Â »ç¶÷À̸§

$email Àº º¸³»´Â »ç¶÷À̸ÞÀÏ

ÀÔ´Ï´Ù.



ÀϹÝÀûÀÎ go_mail ¼­ºê·çƾ



open (MAIL, "|$send_mail") || die "Can't open $send_mail!";

print MAIL <<"EOF";

From: $name <$email>

To: $shop_name<$shop_email>

Subject: ÀºÇà°áÁ¦ÁÖ¹®¼­ µµÂø

$name ¾¾ÀÇ ÀºÇà°áÁ¦



------------------------------------------------------

ȸ»ç¸í : $company

±¸¸ÅÀÚ¼º¸í : $name

¿ìÆí¹øÈ£ : $zip

¹è´ÞÁöÁÖ¼Ò : $address

ÀüÈ­ : $phone

ÇÚµåÆù : $hphone

À̸ÞÀÏ : $email

ÀԱݿ¹Á¤ÀÏ : $bank_day

ÀÔ±ÝÀºÇà : $bank_type

³²±ä³»¿ë : $comment

------------------------------------------------------

EOF

close (MAIL);





¾Æ·¡´Â html Çü½ÄÀ¸·Î º¸³»´Â go_mail ¼­ºê·çƾ ¿¹Á¦ÀÔ´Ï´Ù.



open (MAIL, "|$send_mail") || die "Can't open $send_mail!";

print MAIL <<"EOF";

MIME-Version: 1.0

Content-Type: text/html; charset=euc-kr

From: $name <$email>

To: $shop_name<$shop_email>

Subject: ÀºÇà°áÁ¦ÁÖ¹®¼­ µµÂø

<font color=blue>

$name ¾¾ÀÇ ÀºÇà°áÁ¦


------------------------------------------------------


ȸ»ç¸í : $company


±¸¸ÅÀÚ¼º¸í : $name


¿ìÆí¹øÈ£ : $zip


¹è´ÞÁöÁÖ¼Ò : $address


ÀüÈ­ : $phone


ÇÚµåÆù : $hphone


À̸ÞÀÏ : $email


ÀԱݿ¹Á¤ÀÏ : $bank_day


ÀÔ±ÝÀºÇà : $bank_type


³²±ä³»¿ë : $comment


------------------------------------------------------


EOF

close (MAIL);





¾Æ·¡ µÎÁÙÀÌ Ãß°¡ µÇ¾úÁÒ?



MIME-Version: 1.0

Content-Type: text/html; charset=euc-kr



ÀÌÀü °íÀç¿õ¾¾°¡ ´äº¯µå¸°

Content-Type: text/html; charset="ISO-8859-1"

µµ µË´Ï´Ù¸¸ ¾Æ¿ô·è¿¡¼­´Â ±úÁ® ÀÎÄÚµùÀ» ´Ù½Ã ÇØ¾ß ÇÏ´Â °æ¿ì°¡ ÀÖ½À´Ï´Ù.

°íÀç¿õÆÀÀå´ÔÀº ³×½ºÄÉÀÌÇÁ ½ÅºÀ(^^) À̶ó ³×½ºÄÉÀÌÇÁ¿¡¼­´Â ÀߵǴ °É·Î

¾Ë°í ÀÖ±¸¿ä.



¸¹Àº µµ¿ò µÇ¾úÀ¸¸é ÇÕ´Ï´Ù.

°¨»çÇÕ´Ï´Ù.

ÁÁÀº ÇÏ·çµÇ¼¼¿ä. :-)




HappyCGI's SIGN
°³¹ßÀÚÀÇ ¹Ì´öÀº

°ÔÀ¸¸§(Laziness)
ÂüÁö¸»±â(Impatience)
±³¸¸(Hubris)


   ¸Þ¸ð

³²°ÜÁø ¸Þ¸ð°¡ ¾ø½À´Ï´Ù.

:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~

  

 
¨Ô
Á¦¸ñ
ÀÛ¼ºÀÎ
Á¶È¸
µî·ÏÀÏ
sendmailÀ» ÀÌ¿ëÇÑ html Çü½Ä ¸ÞÀϹ߼Û
HappyCGI
10921
2000-10-19
 



  HOME | ȸ»ç¼Ò°³ | Á¦ÀÛÀÇ·Ú | °³ÀÎÁ¤º¸Ãë±Þ¹æħ | CGIMALL | ÀÚ·á½Ç | »çÀÌÆ®µî·Ï | ·©Å·100 | Æ÷·³ | Ãʺ¸°¡À̵å | Áú¹®°ú´äº¯ | ¹è³Ê±¤°í
Copyright¨Ï1997~2008 HappyCGI All rights reserved
Powered By HappyCGI