InboundEmailResult Class
The InboundEmailResult object is used to return the result
of the email service. If this object is null, the result is assumed
to be successful.
Namespace
InboundEmailResult Properties
The following are properties for InboundEmailResult.
message
A message that Salesforce returns in the body of a reply email. This field can be populated
with text irrespective of the value returned by the Success field.
Signature
public String message {get; set;}
Property Value
Type: String
success
A value that indicates whether the email was successfully
processed.
Signature
public Boolean success {get; set;}
Property Value
Type: Boolean
Usage
If false, Salesforce rejects the inbound email and sends a reply email to the original sender containing the message specified in the Message field.