You need to sign in to do that
Don't have an account?
VINAYAK
how to display the status of email message
Hi
I am querying the EmailMessge object and i am getting status as numeric is ;1 ,2..5 however for display purpose i need the status like sent received new Read and Forwarded depending up on the numbers ie; for 1,2,3,4 and 5 respectively this is my query
objEmail = [Select e.Id,e.ToAddress, e.TextBody, e.Subject, e.Status, e.MessageDate, e.FromName, e.FromAddress, e.ParentId From EmailMessage e where
e.ParentId =:objCase.Id];
and then i ma using objEmail.FeildName to display the data please help
Regards
Here is the documentation for the EmailMessage object
http://www.salesforce.com/us/developer/docs/api/index_Left.htm#StartTopic=Content/sforce_api_quickstart_steps.htm
Seach for it on index theres all its information