ASP에서 배달 확인/ 읽음 확인 구현 방법
<%
Set oMsg = CreateObject("CDO.Message")
oMsg.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
'생성되는 메시지가 SMTP pickup 디렉터리가 아닌 SMTP 서비스로 전송되게 합니다.
oMsg.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "fareast\smpark"
oMsg.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "xxxxx"
oMsg.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "seo-msg-01"
'생성되는 메시지의 서버, 사서함 및 암호
oMsg.Configuration.Fields.Update
oMsg.From = "smpark@microsoft.com"
oMsg.To = "smpark@microsoft.com"
oMsg.Subject = "읽음 확인 및 배달 확인"
oMsg.DSNOptions = 14
'이 메시지의 배달 상태 확인(delivery status notification:DSN)값으로 14는 배달 성공, 실패 및 지연시
'확인메시지 생성
oMsg.Fields("urn:schemas:mailheader:return-receipt-to") = smpark@microsoft.com <mailto:smpark@microsoft.com>
'받는 사람이 이 메시지를 열었을 때 읽음 확인 메시지가 여기에서 지정된 사람에게 보내집니다.
oMsg.Fields("urn:schemas:mailheader:disposition-notification-to") = smpark@microsoft.com <mailto:smpark@microsoft.com>
'MDN(Message Disposition Notification)은 이 메시지의 확인 메시지가 리턴 될 수신자를 지정합니다.
'MDN에 대하여는 Request for Comments (RFC) 2298에 자세히 설명됩니다.
oMsg.TextBody = " SMTP 서버를 통한 읽음 확인 및 배달 확인 메시지"
oMsg.Fields.Update
oMsg.Send
Set oMsg = Nothing
%>
Set oMsg = CreateObject("CDO.Message")
oMsg.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
'생성되는 메시지가 SMTP pickup 디렉터리가 아닌 SMTP 서비스로 전송되게 합니다.
oMsg.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "fareast\smpark"
oMsg.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "xxxxx"
oMsg.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "seo-msg-01"
'생성되는 메시지의 서버, 사서함 및 암호
oMsg.Configuration.Fields.Update
oMsg.From = "smpark@microsoft.com"
oMsg.To = "smpark@microsoft.com"
oMsg.Subject = "읽음 확인 및 배달 확인"
oMsg.DSNOptions = 14
'이 메시지의 배달 상태 확인(delivery status notification:DSN)값으로 14는 배달 성공, 실패 및 지연시
'확인메시지 생성
oMsg.Fields("urn:schemas:mailheader:return-receipt-to") = smpark@microsoft.com <mailto:smpark@microsoft.com>
'받는 사람이 이 메시지를 열었을 때 읽음 확인 메시지가 여기에서 지정된 사람에게 보내집니다.
oMsg.Fields("urn:schemas:mailheader:disposition-notification-to") = smpark@microsoft.com <mailto:smpark@microsoft.com>
'MDN(Message Disposition Notification)은 이 메시지의 확인 메시지가 리턴 될 수신자를 지정합니다.
'MDN에 대하여는 Request for Comments (RFC) 2298에 자세히 설명됩니다.
oMsg.TextBody = " SMTP 서버를 통한 읽음 확인 및 배달 확인 메시지"
oMsg.Fields.Update
oMsg.Send
Set oMsg = Nothing
%>
[이 게시물은 관리자님에 의해 2011-10-31 16:46:12 기타에서 이동 됨]
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 2530 |
|
15년 전 | 2621 | |
| 2529 |
|
15년 전 | 1334 | |
| 2528 | 15년 전 | 1050 | ||
| 2527 | 15년 전 | 1513 | ||
| 2526 | 15년 전 | 912 | ||
| 2525 | 15년 전 | 1205 | ||
| 2524 | 15년 전 | 1101 | ||
| 2523 | 15년 전 | 1499 | ||
| 2522 |
NY더지더지
|
15년 전 | 1635 | |
| 2521 | 15년 전 | 908 | ||
| 2520 |
|
15년 전 | 1314 | |
| 2519 |
|
15년 전 | 1106 | |
| 2518 | 15년 전 | 938 | ||
| 2517 |
|
15년 전 | 1014 | |
| 2516 | 15년 전 | 1327 | ||
| 2515 | 15년 전 | 773 | ||
| 2514 | 15년 전 | 953 | ||
| 2513 | 15년 전 | 2608 | ||
| 2512 |
|
15년 전 | 1420 | |
| 2511 |
|
15년 전 | 794 | |
| 2510 |
|
15년 전 | 826 | |
| 2509 | 15년 전 | 1270 | ||
| 2508 | 15년 전 | 1302 | ||
| 2507 | 15년 전 | 1555 | ||
| 2506 | 15년 전 | 1038 | ||
| 2505 | 15년 전 | 1402 | ||
| 2504 |
JMoon
|
15년 전 | 696 | |
| 2503 |
|
15년 전 | 1046 | |
| 2502 | 15년 전 | 1309 | ||
| 2501 | 15년 전 | 2725 | ||
| 2500 | 15년 전 | 1087 | ||
| 2499 | 15년 전 | 1055 | ||
| 2498 | 15년 전 | 963 | ||
| 2497 |
첫만남의감격
|
15년 전 | 834 | |
| 2496 |
|
15년 전 | 840 | |
| 2495 |
|
15년 전 | 3436 | |
| 2494 |
soulfuleyes
|
15년 전 | 2808 | |
| 2493 | 15년 전 | 1990 | ||
| 2492 | 15년 전 | 2438 | ||
| 2491 | 15년 전 | 1529 | ||
| 2490 | 15년 전 | 1079 | ||
| 2489 | 15년 전 | 1069 | ||
| 2488 | 15년 전 | 2343 | ||
| 2487 | 15년 전 | 888 | ||
| 2486 | 15년 전 | 1933 | ||
| 2485 |
못말리는크리스
|
15년 전 | 740 | |
| 2484 |
|
15년 전 | 1885 | |
| 2483 | 15년 전 | 821 | ||
| 2482 | 15년 전 | 2491 | ||
| 2481 | 15년 전 | 738 | ||
| 2480 | 15년 전 | 1167 | ||
| 2479 | 15년 전 | 720 | ||
| 2478 |
|
15년 전 | 2886 | |
| 2477 | 15년 전 | 1264 | ||
| 2476 | 15년 전 | 1294 | ||
| 2475 | 15년 전 | 1305 | ||
| 2474 | 15년 전 | 1368 | ||
| 2473 | 15년 전 | 978 | ||
| 2472 | 15년 전 | 1740 | ||
| 2471 | 15년 전 | 1267 | ||
| 2470 | 15년 전 | 852 | ||
| 2469 | 15년 전 | 2707 | ||
| 2468 | 15년 전 | 1094 | ||
| 2467 | 15년 전 | 1296 | ||
| 2466 | 15년 전 | 1096 | ||
| 2465 | 15년 전 | 1954 | ||
| 2464 | 15년 전 | 1971 | ||
| 2463 | 15년 전 | 1637 | ||
| 2462 | 15년 전 | 990 | ||
| 2461 | 15년 전 | 1223 | ||
| 2460 | 15년 전 | 918 | ||
| 2459 | 15년 전 | 859 | ||
| 2458 | 15년 전 | 1101 | ||
| 2457 | 15년 전 | 2463 | ||
| 2456 | 15년 전 | 2479 | ||
| 2455 | 15년 전 | 1457 | ||
| 2454 | 15년 전 | 998 | ||
| 2453 | 15년 전 | 1156 | ||
| 2452 | 15년 전 | 1161 | ||
| 2451 | 15년 전 | 1027 | ||
| 2450 | 15년 전 | 931 | ||
| 2449 | 15년 전 | 857 | ||
| 2448 | 15년 전 | 1215 | ||
| 2447 | 15년 전 | 1169 | ||
| 2446 | 15년 전 | 912 | ||
| 2445 | 15년 전 | 886 | ||
| 2444 | 15년 전 | 1063 | ||
| 2443 | 15년 전 | 1534 | ||
| 2442 | 15년 전 | 1065 | ||
| 2441 | 15년 전 | 1389 | ||
| 2440 |
|
15년 전 | 1231 | |
| 2439 | 15년 전 | 1898 | ||
| 2438 |
|
15년 전 | 2959 | |
| 2437 |
|
15년 전 | 2291 | |
| 2436 |
|
15년 전 | 885 | |
| 2435 |
|
15년 전 | 1899 | |
| 2434 |
|
15년 전 | 2085 | |
| 2433 |
|
15년 전 | 1390 | |
| 2432 | 15년 전 | 1368 | ||
| 2431 | 15년 전 | 2630 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기