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
Bhupender AgarwalBhupender Agarwal 

Error while deploying quick action: In field: targetObject - no CustomObject named OutgoingEmail found

Hi All,

I am trying to deploy the customized page layout for Opportunity object and see that I need to deploy quick actions as well. I have retrieved a custom quick action using the following code:
<types>
        <members>Opportunity.opp_send_email</members>
        <name>QuickAction</name>
    </types>

However, when I try to deploy the same I get the error :  
In field: targetObject - no CustomObject named OutgoingEmail found

I see that there is Email action created with the following information:
Action Type: Send Email
Name: opp_send_email
Target Object: Outgoing Email
Object Name: Opportunity


I am not sure how to retrieve the target object as the same is not present in the target org.

Please let me know if any other information is needed.

Please redirect the question to the appropriate team if I have selected the wrong Topic.