checking a mail server (exchange server)

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

  1. #1

    Default checking a mail server (exchange server)

    Does anyone know if it is possible to connect to a Microsoft Exchange server
    using cfpop? I set all the parameters and I get either this: This exception
    was caused by: javax.mail.AuthenticationFailedException: There is no such
    mailbox on this server

    or i get this (if I play with the server and/or login info): This exception
    was caused by: javax.mail.MessagingException: Connect failed; nested exception
    is: java.net.ConnectException: Connection refused: connect

    the "no such mailbox" error leads me to believe you can't use cfpop here since
    I would think i need to specify a username and mailbox name, but there is no
    "mailbox" attribute in cfpop.

    I've read it's possible to create a COM object using CDO (CDOSYS) to utilize
    MAPI to connect to the exchange server to accomplish the same thing. However,
    every tutorial or example of this i've googled for (or searched for on MSDN)
    only gives help on how to send email messages, not check for them.
    ([url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/exchanchor/htm[/url]
    s/msexchsvr_cdo_top.asp)

    has anyone successfully grabbed mail of a MS Exchange server using coldfusion?

    angrycoder Guest

  2. Similar Questions and Discussions

    1. Setting up CF mail server to connect to ISP mail server
      I would like to setup a testing evironment and use my ISP's mail server to test and create CF mail applications. When I tried connecting to the...
    2. exchange server died and it was my only catalog server
      Colleagues, My problem is that my Exchange 2003 server crashed and I will not be able to resurrect it (h.d. died). This Exchange server was not...
    3. PHP & MS Exchange Server problem
      Hello All--- I'm having some trouble getting PHP to communicate with my Windows 2000 MS Exchange Server... I'm running PHP 4.3.2 on a Win2000...
    4. SQL Server 2000, Exchange, COM-Add in for Outlook XP; Dynamically link ACCESS xp & SQL SERVER???
      Can SQL Server 2000 manage the contacts in Exchange? Is there any connectivity between SQL Server and Outlook XP? Furthermore, can SQL Server...
    5. Sending mail to Microsoft Exchange Server
      In article <49a4c829.0306302342.63c8b621@posting.google.com>, madhavachalla@rediffmail.com says... The most obvious thing to check is the email...
  3. #2

    Default Re: checking a mail server (exchange server)

    This is exactly what CFPOP is for and it's used all the time, you must be
    having a problem with your CFPOP attributes. Your first error sounds like it's
    finding the pop server but the userid/pwd are incorrect, the 2nd error sounds
    like it's not finding the pop server at all). Double check your attributes,
    make sure you can connect, login and retrieve email msgs with another email
    client using the attribute values from CFPOP.
    <cfpop server="#form.server#" username="#form.UserName#" password="#form.pwd#"
    action="GETALL" name="GetHeaders">

    gclausen Guest

  4. #3

    Default Re: checking a mail server (exchange server)

    The attributes I send it contain the correct information. It has the right
    address of the server, and right user name and password. I can check email
    fine with this account using a mail client (this is where I pulled the info
    from for the attributes)

    <cfpop
    server="mail.zzzz.com" (fake info here, of course)
    username="xxxx"
    password="yyyy"
    action="getHeaderOnly"
    name="newmail"
    timeout="60"
    debug="Yes">

    any other ideas? thanks.

    angrycoder 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