• bhughes
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
We have recently been testing out the Email to Case feature and it seems to fit our basic needs for this functionality.

However, I noticed that when someone not logged in Salesforce as a Contact sends us a support request, it creates the case, but it puts absolutely nothing in the contact area, nor does it record the email address that the email was received from.

Is there a way to create a new contact, or at least store the email address it came from so we know who to reply back to?

Thanks for your help!
We have recently been testing out the Email to Case feature and it seems to fit our basic needs for this functionality.

However, I noticed that when someone not logged in Salesforce as a Contact sends us a support request, it creates the case, but it puts absolutely nothing in the contact area, nor does it record the email address that the email was received from.

Is there a way to create a new contact, or at least store the email address it came from so we know who to reply back to?

Thanks for your help!
I am facing a problem while running the java -jar email2case.jar ... can anyone help me with this.
My email2Case file is ...

<configFile>
   <server1>
       <url>https://exchange.xyz.com</url>
       <protocol>imap</protocol>
       <userName>sunil.nandipati@xyz.com</userName>
       <password>****</password>
       <interval>10</interval>
       <inbox>Inbox</inbox>
       <readbox>Read</readbox>
       <errorbox>Errors</errorbox>
   </server1>
</configFile>

and .. my config file is

<configFile>
   <sfdcLogin>
       <url>https://www.salesforce.com/services/Soap/u/6.0</url>
       <userName>nandipatisunil@gmail.com</userName>
       <password>****</password>
       <loginRefresh>30</loginRefresh>
       <timeout>600</timeout>
   </sfdcLogin>
   <notify>
       <notifyEmail>sunil.nandipati@xyz.com</notifyEmail>
       <from>sunil.nandipati@xyz.com</from>
       <host>https://exchange.xyz.com</host>
   <port>25</port>
       <user>sunil.nandipati@xyz.com</user>
       <password>****</password>
       <service>com.sforce.mail.SMTPNotification</service>
   </notify>
   <attachments>
       <largeAttachmentDirectory>C:\\EmailAgent\\</largeAttachmentDirectory>
       <largeAttachmentURLPrefix>C:\\EmailAgent\\</largeAttachmentURLPrefix>
       <largeAttachmentSize>5</largeAttachmentSize>
   </attachments>
   <services>
       <com.sforce.mail.EmailService>C:\\EmailAgent\\email2case.txt</com.sforce.mail.EmailService>
   </services>
</configFile>

And the error message is ....

2007-06-07 21:35:06,043 [main] INFO  ===========================================
=================================
2007-06-07 21:35:06,043 [main] INFO  Attempting to start service com.sforce.mail
.EmailService with configuration file C:\\EmailAgent\\email2case.txt
2007-06-07 21:35:08,346 [main] ERROR Failed to connect to SFDC service
com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting elem
ent 'urn:partner.soap.sforce.com:accessibilityMode' but found 'urn:partner.soap.
sforce.com:currencySymbol'
       at com.sforce.ws.bind.TypeMapper.verifyTag(TypeMapper.java:272)
       at com.sforce.ws.bind.TypeMapper.verifyElement(TypeMapper.java:294)
       at com.sforce.soap.partner.wsc80.GetUserInfoResult.loadFields(GetUserInf
oResult.java:355)
       at com.sforce.soap.partner.wsc80.GetUserInfoResult.load(GetUserInfoResul
t.java:347)
       at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:437)
       at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:362)
       at com.sforce.soap.partner.wsc80.LoginResult.loadFields(LoginResult.java
:236)
       at com.sforce.soap.partner.wsc80.LoginResult.load(LoginResult.java:203)
       at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:437)
       at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:362)
       at com.sforce.soap.partner.wsc80.LoginResponse_element.loadFields(LoginR
esponse_element.java:68)
       at com.sforce.soap.partner.wsc80.LoginResponse_element.load(LoginRespons
e_element.java:59)
       at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:437)
       at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:362)
       at com.sforce.ws.transport.SoapConnection.bind(SoapConnection.java:119)
       at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:93
)
       at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:76)
       at com.sforce.soap.partner.wsc80.PartnerConnection.login(PartnerConnecti
on.java:499)
       at com.sforce.mail.GenericClient.login(GenericClient.java:264)
       at com.sforce.mail.GenericClient.getConnection(GenericClient.java:178)
       at com.sforce.mail.GenericClient.<init>(GenericClient.java:134)
       at com.sforce.mail.ImapClient.<init>(ImapClient.java:40)
       at com.sforce.mail.EmailService.loadService(EmailService.java:153)
       at com.sforce.SalesforceAgent.main(SalesforceAgent.java:139)
2007-06-07 21:35:08,376 [main] INFO  Will try 2 more time(s).


Appreciate any kind of help.

Rgds,
Sunil Nandipati.