- Home
- Technical Library
- Boards
- Cookbook
- Code Share
- Blogs
- Partners
-
More
-
Services
- Training & Certification
- Support
-
Galleries
- Force.com Sites Gallery
- Chatter Challenge Entries
-
Other Web Sites
- Salesforce.com
- Database.com
- AppExchange
- CRM Community
-
Add Recipe
App Distribution (13)
Bundle logic, interface and services for distribution.
App Logic (52)
The Apex programming language, workflow and formulas for logic.
Collaboration (7)
The Salesforce Chatter collaboration platform.
Database (29)
Data persistence, reporting and analytics.
Integration (57)
Web Service APIs and toolkits for integration.
Security (22)
Platform, application and data security.
Tools (17)
Force.com tooling
User Interface (38)
Visualforce MVC and metadata-drive user interfaces.
Web Sites (13)
Public web sites and apps with optional user registration and login.
Beta Feedback
Recipes by Category
App Distribution (13)
Bundle logic, interface and services for distribution.
App Logic (52)
The Apex programming language, workflow and formulas for logic.
Collaboration (7)
The Salesforce Chatter collaboration platform.
Database (29)
Data persistence, reporting and analytics.
Integration (57)
Web Service APIs and toolkits for integration.
Security (22)
Platform, application and data security.
Tools (17)
Force.com tooling
User Interface (38)
Visualforce MVC and metadata-drive user interfaces.
Web Sites (13)
Public web sites and apps with optional user registration and login.
Cookbook Home » Serialize Batch Apex
Share
X
Vote to Verify a Recipe
Verifying a recipe is a way to give feedback to others and broaden your own understanding of the capabilities on Force.com. When you verify a recipe, please make sure the code runs, and the functionality solves the articulated problem as expected.
Please make sure:- All the necessary pieces are mentioned
- You have tested the recipe in practice
- Have sent any suggestions for improvements to the author
Please Log in to verify a recipe
You have voted to verify this recipe.
© Copyright 2000-2011 salesforce.com, inc. Web-based Customer Relationship Management (CRM) Software-as-a-Service (SaaS).
All rights reserved Various trademarks held by their respective owners.
All rights reserved Various trademarks held by their respective owners.
Salesforce.com, inc. The Landmark @ One Market, Suite 300, San Francisco, CA, 94105, United States
General Enquiries: 415-901-7000 | Fax: 415-901-7040 | Sales: 1-800-no-software
General Enquiries: 415-901-7000 | Fax: 415-901-7040 | Sales: 1-800-no-software

Recipe Activity - Please Log in to write a comment
Inspired by your code I've created a small Toolkit 'Email2Apex' to make it more generic solution and to support parameters. check out: https://github.com/sbwdev/Email2Apex
Just kidding - can't insert EmailServicesFunction from apex :(
Hmm-on second thought, I can have some "activate" button create the EmailServicesFunction & EmailServicesAddress on install, which eliminates the manual error issue.
Love the idea! I wanted to use this for a managed package, but it appears Email Settings can't be packaged, so it would be pretty painful for the installer to set up the setting as if they get anything wrong, the code would break.
I found the problem - The sandbox includes the text "Force.com sandbox" in both the subject and body of outbound emails. Also, when I try to use the contains() strting method on email.plainTextBody, it doesn't work, so I have to use the Subject field instead.
Hello. Thanks for posting this. I'm trying to implement in a sandbox but the EmailServiceHandler is not doing anything when the first batch sends the email. I have set the Inbound Email Service to accept mail from all domains, and the EmailServiceHandler works fine when I send an email from gmail.com, yahoo.com, etc. I've double-checked the To address in the EmailHandler class.
Any suggestions?
Thanks
David
Nice recipe Deva ....
This definitely works...
Worked for me.
It works superb. Thanks Devendra.
Nice recipe Devendra, surely it will help in coming future to me.
Gr8 devendra, This is very useful.
Gr8 devendra, This is very useful.
I have tried this recipe and worked fine for me.