Creating email auto-responder

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Creating email auto-responder

    Hello,

    I am wondering how would I be able to develop an email auto-responder for POP mails? Do I have to use event gateways? If so which gateway would I be using?
    superbullet Guest

  2. Similar Questions and Discussions

    1. Auto fill email address
      I've create a "e-mail back" button on a PDF form so that by clicking on the button, it will launch the default email program on their computer. My...
    2. Creating Custom Datagrid that auto adds attributes at <TD> leve
      I am creating a custom data grid in which I want to modify Table, Row and Cell level attributes. I have discovered how to update the row level...
    3. Auto Reply Email with PHP when MySQL is updated
      I am trying to build an application using PHP and MySQL that captures information regarding an individual. Name, address, email etc. I have no...
    4. help changing first responder
      NSTextField is really kicking my ass... :-) If the user edits a text field and the value is invalid, I want to pop up an alert, restore the...
    5. Auto page start in an email
      I have noticed a number of (spam I'm afraid) emails I have received lately automatically link to and open a web page embedded in the email as soon...
  3. #2

    Default Re: Creating email auto-responder

    i guess that depends on how responsive you want to be. if some lag is ok, then
    simply cfschedule a page w/cfpop to check email and respond accordingly. or if
    there's no need for any logic, most mail servers have some type of
    auto-responder already.

    if you're on cf 7 and need more responsiveness, you could write a simple
    custom gateway in java (using javamail) to check a mailbox (or a series of
    mailboxes) which in turn informed CFC that mail was available and the CFC would
    actually process the email.

    PaulH Guest

  4. #3

    Default Re: Creating email auto-responder

    Thanks for the reply Paul,

    Yes, I was thinking of making it use cfschedule, but like you said, I would
    need it to respond as soon as possible. I am trying to create a blog reply via
    email. Where the person subscribes to the blog and then can post by just
    replying to the subscription email.

    If only I knew java. Paul, any way I can learn simple steps to write java code
    to use javamail?

    superbullet Guest

  5. #4

    Default Re: Creating email auto-responder

    well mm's supplies an empty gateway example that should get you started in
    terms of the gateway. for the javamail bits, there's a boatload of examples on
    [url]http://java.sun.com/products/javamail/[/url]. prodding a POP3 inbox is almost
    trivial.

    if i get the time, i'll see what i have laying around.

    PaulH Guest

  6. #5

    Default Re: Creating email auto-responder

    I managed to somehow use an XMPP gateway a week ago, but all I understood was
    basically the Administrative Gateway page, how gateways work, and the
    configuration file. Besides these 3, I am completely lost. Therefore, I don't
    know how to import these java classes, how to use the javamail api, or anything
    associated with java for that matter, except simple invokations.

    I ordered forta's cf 7 adv book, it has a few sections on gateways, maybe that
    will help me understand how the java side of it functions. I have no problem
    with how the cf components act as a listener, and the cfgs, etc etc, but I
    don't know exactly how they work internally and how the java invokation works.
    And I can't seem to understand it either.

    If you have a better source for understanding this Paul, please let me know,
    thanks.

    superbullet Guest

  7. #6

    Default Re: Creating email auto-responder

    well if you understand that much i'd say you're well on your way.

    i forgot that the advanced cf 7 book has a chapter on gateways and the
    [url]http://www.forta.com/books/0321292693/[/url] (see chapter 31) is exactly what you're
    looking for. i think robi sen wrote that chapter.


    PaulH Guest

  8. #7

    Default Re: Creating email auto-responder

    I have been using cfschedule to do something similar. It checks our email
    server every 2 minutes. It is simple, fast and actually very little overload
    to the system. A easy, cheap alternative until you can get the cool CFMX7
    event gateway to work!

    Bob

    zbob99 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139