메일 개별 수신 확인 ( 받는이, 수신, 참조 ) 방법좀 알려주세요

lmh007의 이미지

메일 개별 수신 확인 기능을 만들어 보려는데요

기본 개별수신 말고 아무나 한명 메일 확인을 할경우 수신확인을 한다면 아래처럼
메일 발송전에 <img src="http://xxxx.com/ok.php?id=1" width=0 height=0 /> 본문에 붙여서 보낸다면
http://xxxx.com/ok.php 파일을 호출하면서 DB업데이트 하면서 처리하는 방식은 알겠는데요

개별수신 확인을 한다면
<img src="http://xxxx.com/ok.php?id=1&mail_address=lmh1@naver.com" width=0 height=0 />
<img src="http://xxxx.com/ok.php?id=1&mail_address=lmh2@naver.com" width=0 height=0 />
저런식으로 개별로 보내야 할거 같은데

예를 들어 네이버에서 메일이 온걸 확인해 보면 개별수신확인기능이 있는데 메일 원문을 확인을 해보면 저렇게 다른 이미지 테그가 들어가 있더라구요

메일 원문에는 아래처럼
To: lmh1@huns.kr,lmh2@huns.kr
Cc: lmh3@huns.kr
되어 있구요

그렇다고해서 메일이 To 한명을 지정해서 보내진 것두 아니구요
To: lmh1@huns.kr 메일한번 발송
To: lmh2@huns.kr 메일한번 발송....

도대체 어떻게 처리 해야 할까요
메일을 sendmail이 발송하기 전에 그전 작업을 잡아서 처리 해야 할꺼 같은데 어떠한 방식으로 접근을 해야 할지 모르겠습니다

php만 가지고 하는방법(개별발송) 말고요 한번에 보낸다고 하면 sendmail쪽을 건들여야 하는건지 아니면 다른부분을건들여야 하는지 좀 알려주세요
만약에 sendmail을 건들여야 한다면 어떤 부분인지 부탁드리겠습니다

고수 님들 도아주십쇼 ~

ironiris의 이미지

qmail 이라면
http://qmail.kldp.net/phpbb/viewtopic.php?f=3&t=5146
이 부분을 참고해서 구현하면 가능할 것 같네요.
어차피 to, cc, bcc 모두 해당 메일서버에 접속해서 rctp to: 명령으로 메일을 보내주는 것이거든요.
이때 메일의 본문을 수정해서 해당유저를 확인할수 있는 ok.php?mail_address=test@test.com 으로 바꿔서 보내면 될듯합니다.

lmh007의 이미지

(__ 감사합니다 ~ ~

그런데 제가 sendmail 기반으로 하고 있어서 ㅜ_ㅜ

저 부분을 참고로 찾아바야 겠네요

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.