You need to sign in to do that
Don't have an account?
Mark_Abramowitz
Update: Email-To-Case Agent Code
A new release of the Email-To-Case Agent Code is available and can be found here:
http://www.sforce.com/resources/toolkits-samples.jsp#EmailToCase
The focus of the release was to enhance the Email-To-Case Agent Code to perform retries when the email server or Sforce service are not reachable. In addition, email monitoring with notifications and error codes has been implemented.
The Email-To-Case Agent Code currently includes support for:
--Notifications
--Error Handling
--Logging
--Retries
--Blocking
--Ant build script
The Email-to-Case Agent source code is a sample implementation that pulls emails from multiple email addresses on your mail server and uses the Sforce API to create new cases in Supportforce, or append to an existing case. It currently supports servers with IMAP support. Customers can use the source code to extend the Email Agent beyond these capabilities to meet additional requirements.
This source code is not supported by Salesforce.com and is provided as a sample to accelerate the implementation of Email Management.
Mark Abramowitz
Senior Product Manager, Supportforce
http://www.sforce.com/resources/toolkits-samples.jsp#EmailToCase
The focus of the release was to enhance the Email-To-Case Agent Code to perform retries when the email server or Sforce service are not reachable. In addition, email monitoring with notifications and error codes has been implemented.
The Email-To-Case Agent Code currently includes support for:
--Notifications
--Error Handling
--Logging
--Retries
--Blocking
--Ant build script
The Email-to-Case Agent source code is a sample implementation that pulls emails from multiple email addresses on your mail server and uses the Sforce API to create new cases in Supportforce, or append to an existing case. It currently supports servers with IMAP support. Customers can use the source code to extend the Email Agent beyond these capabilities to meet additional requirements.
This source code is not supported by Salesforce.com and is provided as a sample to accelerate the implementation of Email Management.
Mark Abramowitz
Senior Product Manager, Supportforce
Please give me details on the nullpointer error you are referring to.
I posted a message about when I forward a message from my outlook client (the forward is an attachment) the agent throws the NullPointer error. (see below)
This is with the latest version that was released on the 20th.
***************** ERROR Log ************************
[Thread-1] INFO com.sforce.mail.GenericClient - >>> mail.fortinet.com:pfife_test:receive()
[Thread-1] INFO com.sforce.mail.GenericClient - processing 1 messages
[Thread-1] ERROR com.sforce.mail.GenericClient - java.lang.NullPointerException
java.lang.NullPointerException
at javax.mail.internet.MimeUtility.decodeText(MimeUtility.java:472)
at com.sforce.mail.ParsedMessage$EmailBody$EmailAttachment.getFileName(ParsedMessage.java:385)
at com.sforce.mail.ParsedMessage$EmailBody$EmailAttachment.(ParsedMessage.java:394)
at com.sforce.mail.ParsedMessage$EmailBody.(ParsedMessage.java:288)
at com.sforce.mail.ParsedMessage.(ParsedMessage.java:55)
at com.sforce.mail.GenericClient.handleMessage(GenericClient.java:490)
at com.sforce.mail.GenericClient.receive(GenericClient.java:437)
at com.sforce.mail.EmailService$EmailWorker.run(EmailService.java:202)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
2005-07-22 08:25:00,271 4156 [Thread-1] INFO com.sforce.mail.GenericClient - <<< mail.fortinet.com:pfife_test:receive()
Can you explain what "Blocking" is. Does this mean we can configure the agent to 'block' certian emails?
Mark Abramowitz
Senior Product Manager, Supportforce
We are going to capture this error in the logs, errorbox and notify the appropriate email address.
So are you saying this will ONLY be handled as you out lined or in the future releases of the email to case will this be handled?
We capture this error in the logs, errorbox and notify the appropriate email address.
Hello,
We found the old email2case program had quite a number of problems and so were very interested to see this new version. We have started testing it on our development account and I must say it is looking much much better.
as we continue testing I will update this thread. if you have specifics to test or emails send them to me and we can see what happens.
many thanks
The readme didn't indicate to setup folders on the IMAP server.
When I ran the jar, it bailed because the expected folders weren't valid.
So, I created a processed folder named "read" and an error folder named "errors"
When I run the jar, I still get an error:
"The processed folder provided is not valid."
I get the following email notification:
"The processed folder provided is not valid.
read
SFDC Url: https://www.salesforce.com/services/Soap/u/6.0
SFDC User ID:
SFDC Login Refresh: 30
SFDC Timeout: 4
Registered Services:
:@.com:inbox"
What do I have to do to fix this?
(I've removed my specific account and server info, of course)
Message Edited by PeterATL on 12-16-2005 01:25 PM
Message Edited by PeterATL on 12-16-2005 01:26 PM