ns.incuber.net
218.145.65.143
ns1.incuber.net
116.126.143.226
ns2.incuber.net
218.145.65.144
ns3.incuber.net
116.126.143.225
±â¾÷ÀºÇà
055-052143-02-016
¿¹±ÝÁÖ : ÃÖÀº¾Æ
ÀÚÁÖ¹¯´Â Áú¹®
Ȩ > °í°´¼¾ÅÍ > ÀÚÁÖ¹¯´Â Áú¹®

Áú¹® CDO °´Ã¼¸¦ ÀÌ¿ëÇÑ ¸ÞÀÏ¹ß¼Û ASP ¿¹Á¦ - ÷ºÎÆÄÀϱâ´ÉÆ÷ÇÔ
ÀÎÅ¥¹ö À©µµ¿ìÈ£½ºÆü­¹ö´Â smtp¸¦ Áö¿øÇÏÁö ¾Ê±â ¶§¹®¿¡ ¸ÞÀϼ­¹ö(mw-001.cafe24.com ¶Ç´Â mw-002.cafe24.com)¿¡ ¿¬µ¿ÇÏ¿© ¹ß¼ÛÇÒ ¼ö ÀÖµµ·Ï ¼Ò½º°¡ ÇÁ·Î±×·¡¹Ö µÇ¾î ÀÖ½À´Ï´Ù.
¡Ø Upload Componet´Â DEXTupload Pro¸¦ ¿¹·Î ÇÏ¿´À¸¸ç, »ç¿ëÇϽô Upload Componet¿¡ ¸Â°Ô²û ¼Ò½º¸¦ ¼öÁ¤ÇϽñ⠹ٶø´Ï´Ù.

<%
Set Uploadform = Server.CreateObject("DEXT.FileUpload")
Uploadform.DefaultPath = Server.MapPath("/¾÷·ÎµåÀúÀåÆú´õ¸í") '¶Ç´Â Àý´ë°æ·Î(Æú´õ¿¡ ¾²±â±ÇÇÑ ¼³Á¤ ÇÊ¿ä)
AttachFile = Uploadform("attachfile").FileName

Const cdoSendUsingMethod = "http://schemas.microsoft.com/cdo/configuration/sendusing"
Const cdoSendUsingPort = 2
Const cdoSMTPServer = "http://schemas.microsoft.com/cdo/configuration/smtpserver"
Const cdoSMTPServerPort = "http://schemas.microsoft.com/cdo/configuration/smtpserverport"
Const cdoSMTPConnectionTimeout = "http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout"
Const cdoSMTPAccountName = "http://schemas.microsoft.com/cdo/configuration/smtpaccountname"
Const cdoSMTPAuthenticate = "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"
Const cdoBasic = 1
Const cdoSendUserName = "http://schemas.microsoft.com/cdo/configuration/sendusername"
Const cdoSendPassword = "http://schemas.microsoft.com/cdo/configuration/sendpassword"
Const cdoSendUsingPickup = "http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory"

Dim objConfig ' As CDO.Configuration
Dim objMessage ' As CDO.Message
Dim Fields ' As ADODB.Fields ' Get a handle on the config object and it's fields

Set objConfig = Server.CreateObject("CDO.Configuration")
Set Fields = objConfig.Fields ' Set config fields we care about

With Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = "¸ÞÀϼ­¹öÁÖ¼Ò"
.Item(cdoSMTPServerPort) = 25
.Item(cdoSMTPAuthenticate) = cdoBasic
.Item(cdoSendUserName) = "POP¸ÞÀϾÆÀ̵ð@POP¸ÞÀϵµ¸ÞÀÎ"
.Item(cdoSendPassword) = "POP¸ÞÀϺñ¹Ð¹øÈ£"
.Item(cdoSendUsingPickup) = Uploadform.DefaultPath
.Update
End With

Set objMessage = Server.CreateObject("CDO.Message")
Set objMessage.Configuration = objConfig

With objMessage
.To = "batman@gotham.com"
.From = "superman@crypton.net"
.Subject = "Hello, this is test mail"
.HTMLBody = "Hello"
If AttachFile <> "" Then
.AddAttachment Uploadform.DefaultPath & "/" & AttachFile
End If
.Send
End With

Response.Write "Success"

Set Fields = Nothing
Set objMessage = Nothing
Set objConfig = Nothing
%>

POP¸ÞÀÏ°èÁ¤Àº [³ªÀǼ­ºñ½º°ü¸®] > [À̸ÞÀÏ°èÁ¤ Ãß°¡/»èÁ¦] > [½Å±Ô°èÁ¤Ãß°¡]¿¡¼­ °èÁ¤À» »ý¼º ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.

POP¸ÞÀϽÅû½Ã mw-001 ¶Ç´Â mw-002¸¦ È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.

¸®¼¿·¯ÀÏ °æ¿ì .Item(cdoSMTPServer) = "¸ÞÀϼ­¹öÁÖ¼Ò"
ÀÌ ºÎºÐÀº .Item(cdoSMTPServer) = "mail-001.¸®¼¿·¯µµ¸ÞÀÎ" ¿Í °°ÀÌ ¼öÁ¤ÇØ ÁÖ¼¼¿ä.

ÀϹÝÀûÀÎ CDO ¸ÞÀϹ߼۰ú ´Ù¸¥Á¡Àº SMTP ÀÎÁõ¿¡ °üÇÑ ºÎºÐÀÌ Ãß°¡µÇ¾î ÀÖ´Â Á¡ÀÔ´Ï´Ù.
Âü°í·Î CDONTS °´Ã¼´Â ¿ø°ÝÁ¢¼Ó°ú SMTP ÀÎÁõ±â´ÉÀÌ ¾øÀ¸¹Ç·Î À§¿Í °°ÀÌ CDO ·Î ±¸ÇöÇÏ¼Å¾ß ÇÕ´Ï´Ù.


 
ÁÖ¼Ò : ¼­¿ï½Ã °­³²±¸ ½Å»çµ¿ 508-3¹øÁö »ïÇöºôµù 4Ãþ      ÀüÈ­ : 1544-9706      Æѽº : 02.6442.0136      ´ëÇ¥ÀÌ»ç : ±èÁ¾¼ö
¹ýÀÎ : 110111-4056738      »ç¾÷ÀÚµî·Ï¹øÈ£ : 220-87-78137      ¹ýÀθí : ÁÖ½Äȸ»ç ÀÎÅ¥¹ö      »çÀÌÆ®¸í : ÀÎÅ¥¹ö(incuber)
°³ÀÎÁ¤º¸Ã¥ÀÓÀÚ : ¼­Èñö      ¸ÞÀÏ : korea@incuber.kr      »ó´ã½Ã°£ : 08:00 ~ 18:00(¿ù~±Ý) Åä¿äÀÏ : 09:00~ 15:00
º» »çÀÌÆ®¿¡ °Ô½ÃµÈ À̸ÞÀÏ ÁÖ¼Ò¸¦ ¹«´ÜÀ¸·Î ¼öÁýÇÏ´Â °ÍÀ» ±ÝÁöÇϸç, À̸¦ À§¹Ý½Ã Á¤º¸Åë½Å¸Á¹ý¿¡ ÀÇÇØ Ã³¹ú¹Þ°Ô µË´Ï´Ù.
Copyright¨Ï INCUBER. ALL RIGHTS RESERVED. SINCE 1999