소켓을 이용해서 메일을 보내는 자료를 구합니다.

zienie의 이미지

사이트의 회원들에게
NewLetter를 정기적으로 발송하고 있는데...
회원수가 점점 많아지니 sendmail 로는
시간이 너무 오래걸리는군요.

그래서 회원 email을 계정별(empal, hanmir 등등)로 소팅해서
해당 SMTP 서버에 직접 소켓을 열고 접속하여 메일을 보내려합니다.
SMTP 형식에 맞춰서 데이터를 쏴주면 될듯한데....
SMTP 자료를 찾기가 쉽지 않네요. :roll:

아시는 분의 도움을 부탁드립니다.

참 구현은 C로 할 예정입니다. ^^

charsyam의 이미지

RFC821을 보시면 SMTP 동작이 나옵니다.

음...대량 발송은 생각보다 많은 생각을 하셔야 할겁니다. 그럼 고운 하루

되시길...

=========================
CharSyam ^^ --- 고운 하루
=========================

고물의 이미지

대량발송이라...

어려운 행보를 하시는군요..

필요한 기술로는..
SMTP,
ESMTP,
MIME,
DNS,
BIND,
System Limit,
Connection Control,
Schedule,
Filtering,
Receiver,
Reporting mail 분석,
병렬처리,
Cashing,
Multi Thread

등등이 들어갑니다..

물론.. 거의 완벽한 발송전용 메일을 만든다면요..
Linux base면 Redhat 9.0을 추천합니다.

pore70의 이미지

단순히 회원들에게 메일을 보내야 하는데 동일한 내용을 작성해야한다면 메일링 리스트가 났지 않을까요? 새로 프로그램을 짜는 것 보다는 그 편이 더 나을 것 같은데요?

sealover의 이미지

일정이 바쁘면 대량 발송 솔루션을 쓰세요.
널널하게 할일 없고 공부삼아 몇달 들여서 어느정도 돌아가는걸 만들고....
거기에서 희열을 얻길 원하신다면... (중요한거지요.. ^^)

끝없는 고행이 될껍니다...

ps) 저같으면.. 그냥 sendmail 씁니다. 귀차니스트... ^^

zienie의 이미지

답변들 감사합니다. ^^

고행을 이미 시작했습니다....

님들의 조언을 참고 삼아~~~~

삼아~~~~

##########################################################
넘어지는건 아직 괜찮다.
하지만 넘어질때마다 무언가를 주워서 일어나자.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.