You need to sign in to do that
Don't have an account?

Email to Custom Object
Is it possible to have an email service apex that will update an existing record in a custom object? I'm not a coder but would really appreciate it if someone can guide me to a similar code I can use to develop this functionality. Thanks!
Should certainly be possible. Have a look at
http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_classes_email_inbound_using.htm
The docs give a basic example of processing inbound emails. Feel free to ask more if you get stuck.
All Answers
Should certainly be possible. Have a look at
http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_classes_email_inbound_using.htm
The docs give a basic example of processing inbound emails. Feel free to ask more if you get stuck.
You are the man! Thanks! I got my code up and running.
I have my code working as originally planned. Now I would like to take it a step further and have the attachments on the email be attached to the record. I have followed step by step as shown on this sample code to get the attachment onto salesforce via my email apex. I even tried the exact code on the web to test and it still would not work. The email service looks right (just as shown on the link below). Feedback is appreciated.
http://wiki.developerforce.com/index.php/An_Introduction_To_Email_Services_on_Force.com
Can you post the code you have working now? If it does everything except insert the attachments, it may be an easy fix.
Any chance you could repost that in a code block? It's a tad bit hard to read that as is...
Oops...Sorry about that:
I'd make sure your email service setup is allowing attachments. Sounds silly, I know, but I always go to the easy stuff first. If it is, then I'd put some debug statements in your for loop to make sure you are actually getting the attachments list in your code.
Everything looks good on the email service. It's enabled to receive all attachments. Would you mind sharing a debug statement that would fit my code? Thanks!
Jumping here now. I have a similar issue (although I don't need to archive the attachements), and I can't access David81 link from up top. It just takes me to an "Introducing Apex" page. Can I get any help? This is what I am trying to do:
I have a custom object (called "Users") that holds our software end users, whom we continuously email. I would like to attach the emails to their activity history when we bcc salesforce, just like it happens for leads and contacts.
Is this possible, can anybody help?
Thanks!
i am trying to attach a csv file through email service but your code is not working.it gives an error like " Oops, I failed."