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.
The following are properties for InboundEmailResult.
-
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
Successfield. -
A value that indicates whether the email was successfully processed.
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.
public String message {get; set;}
Type: String
A value that indicates whether the email was successfully processed.
public Boolean success {get; set;}
Type: Boolean
If false, Salesforce rejects the inbound email and sends a reply email to the original sender containing the message specified in the Message field.