• Dave_ITG
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

I am having problems connecting to my Exchange server using email2case.  Here are my config files:

email2case.txt:

<configFile>
    <server1>
        <url>imap.win.myco.com</url>
        <protocol>IMAP</protocol>
        <userName>sfdc</userName>
        <password>xxxx</password>
        <port>993</port>
        <interval>1</interval>
        <inbox>SFDC</inbox>
        <readbox>SFDC.SFDC_Out</readbox>
        <errorbox>SFDC.SFDC_Err</errorbox>
    </server1>
</configFile>

 

sfdcconfig.txt:

<configFile>
    <sfdcLogin>
        <url>https://www.salesforce.com/services/Soap/u/9.0</url>
        <userName>me@myco.com</userName>
        <password>xxxx</password>
        <loginRefresh>30</loginRefresh>
        <timeout>600</timeout>
    </sfdcLogin>
    <proxy>
      <server>proxy_server</server>
      <port>8080</port>
      <user>me</user>
      <password>xxxx</password>
    </proxy>
    <notify>
  <notifyEmail>me@myco.com</notifyEmail>
        <from>me@gmail.com</from>
        <host>smtp.gmail.com</host>
    <port>465</port>
        <user>me</user>
        <password>xxxx</password>
        <service>com.sforce.mail.SMTPNotification</service>
    </notify>
    <attachments>
        <largeAttachmentDirectory>C:\EmailAgent\LargeAttachments</largeAttachmentDirectory>
        <largeAttachmentURLPrefix>file:\\C:\EmailAgent\LargeAttachments</largeAttachmentURLPrefix>
        <largeAttachmentSize>1</largeAttachmentSize>
    </attachments>
    <services>
        <com.sforce.mail.EmailService>C:\\EmailAgent\\email2case.txt</com.sforce.mail.EmailService>
    </services>
</configFile>

 

It is able to connect to SFDC, but not to our Exchange server.  This is the message I get:

...

2010-02-23 10:02:16,284 360  [main] INFO  com.sforce.SalesforceAgent  - Attempting to start service com.sforce.mail.EmailService with configuration file C:\\EmailAgent\\email2case.txt
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.mail.GenericClient  - LoginURL: https://www.salesforce.com/services/Soap/u/9.0
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.mail.GenericClient  - Agent will connect to: https://na7-api.salesforce.com/services/Soap/u/9.0/00DA0000000ILw2
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.mail.EmailService  - Scheduling poll process against imap.win.myco.com
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.mail.EmailService  -    Port    : 993
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.mail.EmailService  -    UserID  : sfdc
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.mail.EmailService  -    Password:
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.mail.EmailService  -    Interval: 1 minute(s)
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.mail.EmailService  -    InBox   : SFDC
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.mail.EmailService  -    ReadBox : SFDC.SFDC_Out
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.mail.EmailService  -    ErrorBox: SFDC.SFDC_Err
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.SalesforceAgent  - Service imap.win.itginc.com:993:tca_sfdc:SFDC successfully registered
2010-02-23 10:02:16,909 985  [main] INFO  com.sforce.SalesforceAgent  - com.sforce.mail.EmailService  loaded as a timer service.
2010-02-23 10:03:18,095 62171 [Timer-0] ERROR com.sforce.mail.GenericClient  - Unable to connect to mail service.
Service: imap.win.myco.com
User: sfdc

Message: ;
  nested exception is:
    java.io.IOException

 

Is there any way to get more info regarding the error, or any utilities to use to debug the connection?