asp 디폴트 경로에서 파일 다운로드 또는 파일실행

2013년 05월 06일 golgol 0

다운로드 파일명 또는 실행파일은 경로지정 : objStream.LoadFromFile Server.MapPath(“./다운로드 파일명 또는 실행파일”) Dim file file= “다운로드 파일명 또는 실행파일” ‘파일 이름 Response.ContentType = “application/unknown” ‘ContentType 를 […]

Asp 저장프로시저 사용시 필요한 파일 adovbs.inc

2012년 09월 18일 golgol 0

<% ‘adovbs.inc ‘——————————————————————– ‘ Microsoft ADO ” Copyright (c) 1996-1998 Microsoft Corporation. ” ADO constants include file for VBScript ”——————————————————————– ‘—- CursorTypeEnum Values —- Const […]

Function SendMail 외부 서버를 이용한 메일 발송 방법

2012년 08월 18일 golgol 0

Public Function SendMail(strSenderName, strSenderAdd, strReceiverName, strReceiverAdd, strSubject, strMailBody, sFileName) SendMail = False ‘메일에러체크 sFrom = “”&strSenderName&”” & “<“& strSenderAdd &”>”       ‘송신자설정 sTo  = “”&strReceiverName&”” & “<“& strReceiverAdd &”>”     ‘수신자설정 […]

SMTP CDO로 메일 보내기

2012년 08월 18일 golgol 0

<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /> <% Dim objMail Dim AgentSubject Dim Contents subject= ” 메일 테스트 ” Contents = “내용 입니다 ” ‘——————————————————– Set objMail […]