You need to sign in to do that
Don't have an account?
![anil 007 anil 007](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Problem with email to Case configuration settings
Hiiii,
Iam working on email to case settings ,iam getting this error
Message: Connection timed out: connect;
nested exception is:
java.net.ConnectException: Connection timed out: connect
my sfdcconfig file :
<configFile>
<sfdcLogin>
<url>https://www.salesforce.com/services/Soap/u/9.0</url>
<userName>xxxxxxxxxxxxxxxxx</userName>
<password>xxxxxxxxxxxxxxxxxNgmj4I6enYldFH37ANfXaRaF</password>
<loginRefresh>30</loginRefresh>
<timeout>5000</timeout>
</sfdcLogin>
<notify>
<notifyEmail>xxxxxxxxxx</notifyEmail>
<from>xxxxxxxxx</from>
<host>imap.gmail.com</host>
<port>465</port>
<user></user>
<password></password>
<service>com.sforce.mail.SMTPNotification</service>
</notify>
<attachments>
<largeAttachmentDirectory>C:\Users\CRM5\Downloads\EmailAgent\EmailAgent</largeAttachmentDirectory>
<largeAttachmentURLPrefix>C:\Users\CRM5\Downloads\EmailAgent\EmailAgent</largeAttachmentURLPrefix>
<largeAttachmentSize>1</largeAttachmentSize>
</attachments>
<services>
<com.sforce.mail.EmailService>C:\Users\CRM5\Downloads\EmailAgent\EmailAgent\email2case.txt</com.sforce.mail.EmailService>
</services>
</configFile>
<configFile>
<server1>
<url>imap.gmail.com</url>
<protocol>IMAP</protocol>
<userName>**********@gmail.com</userName>
<password>**********</password>
<interval>10</interval>
<inbox>Inbox</inbox>
<readbox>Inbox</readbox>
<errorbox>salesforce</errorbox>
</server1>
</configFile>
Plz help me it's urgent
Have you considered using On Demand Email To Case instead? Then you wouldn't have to have any Java client at all.
Your problem here is clearly a network error, anyway. Check your firewall, Windows UAC, and stuff like that. But you'd probably be much better off using On Demand Email To Case.