function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
akrichaakricha 

Error using Email2Case

I am trying to use the Email2Case application.

It works well when I use my Salesforce trial account. But fails when try to use our corp account.

I get this error:

- Bypassing poll of mail server because connection to Salesforce Host is unavailable.https://www.salesforce.com/services/Soap/u/6.0

We have a profesionnal licence.

Please help!!!

Thanks

DevAngelDevAngel
Professional edition is not API enabled.
akrichaakricha

This Salesforce site say it is enabled.  http://www.salesforce.com/products/comparison.jsp

see section SUPPORT FORCE /  Email management (email-to-case)

The professional licence doesnt allow to use the Entreprise API but we can use the Partner API.

DevAngelDevAngel

Hi akricha,

If you look down to the sforce 6.0 section you will see that the sforce Web-services API is only available in the Enterprise edition, regardless of which wsdl you try to use.

The fact that it says email to case is enabled as new feature for profession edition in support force sounds contradictory.

If you click on that feature you will see the following information:

Case Assignment and Workflow

Supportforce helps automate the distribution of cases in your service organization so that each customer inquiry automatically and immediately gets to the right group or agent, for the quickest and most accurate resolution. Built-in email-to-case functionality lets you use multiple email addresses to route incoming email to the appropriate queues. Because every organization is different, you can easily customize Supportforce for your unique business processes

This is not the same as the email to case agent

Mark_AbramowitzMark_Abramowitz
Firstly, Email2Case is designed to work with Professional Edition.

It sounds like you might be using a version of the Partner WSDL that was generated w/o the EmailToCase stubs.

In the readme.txt it's sort of buried in there that you need to generate the wsdl a little differently for EmailToCase:

Additional information about this code:

If you need to generate a WSDL with the EmailToCase API calls in the WSDL, add "&email=1" to the end of the WSDL generation URL in the application.

https://na1.salesforce.com/soap/wsdl.jsp?email=1 (Partner WSDL)
https://na1.salesforce.com/soap/wsdl.jsp?type=*&email=1 (Enterprise WSDL)

It could be that you generated the partner wsdl w/o the "?email=1" and thus doesn't have the stubs...

Mark Abramowitz
Supportforce Product Manager
Jamie PJamie P
Hi Dave,

I am not able to try any of this yet - too many things to get set up first... But I'm afraid I found your reply very confusing (it has been a *very* long day).

I could agree that the "built-in email-to-case functionality" is "not the same as the email to case agent" except that when you go to the Setup / Email-to-case page it says:
1. Download the Email-to-Case agent from sforce.com

So, yes they are different but you can't use one without the other. As Arthur Dent might have said: "This must be some new meaning of the term built-in with which I was formerly unaquainted" :-)

I don't understand how Professional edition can support email-to-case if this depends on the agent which uses the API which isn't available in Professional... Am I missing something?

Thanks

Jamie
DevAngelDevAngel
It''s a special API that has been enabled for Pro Edition.
Jamie PJamie P
Thanks Dave. That solves that one.