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
vijaymindvijaymind 

fromAddress field is of InboundEnvelop or InboundEmail

I am confused, I have seen somewhere we are accessessing fromAddress from inboundEmail class and somewhere inboundEnvelop. Salesforce standard page with these disctingutions.

http://wiki.developerforce.com/page/An_Introduction_To_Email_Services_on_Force.com
email.fromAddress ='test@test.com'; 
                                         
http://wiki.developerforce.com/page/Code_Sample_-_Testing_Email_Services_with_Inbound_Attachments
env.fromAddress = 'user@acme.com';


Which one is true ?
vijaymindvijaymind
I am able save script from both classes.