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
niven sfniven sf 

Hi! I am getting error with sending emails, EMAIL_ADDRESS_BOUNCED, The target object email address is currently marked as bounced

Best Answer chosen by niven sf
Raj VakatiRaj Vakati

When Bounce Management is activated and a user sends an email to an invalid email address, the email bounces back to Salesforce and the user is prevented from sending email to that address until it is validated.
Go to Setup --> Email Administration -- >Deliverability Check "Activate bounce management" Settings .
 

All Answers

Raj VakatiRaj Vakati

When Bounce Management is activated and a user sends an email to an invalid email address, the email bounces back to Salesforce and the user is prevented from sending email to that address until it is validated.
Go to Setup --> Email Administration -- >Deliverability Check "Activate bounce management" Settings .
 
This was selected as the best answer
Raj VakatiRaj Vakati
Use try and catch while sending the email message 


Messaging.sendEmail has an optional second parameter for allOrNone, which allows partial failures. 
 
SendEmailResult[] results = Messaging.sendEmail(messages, false);
for(SendEmailResult result: results) {
    if(!result.isSuccess()) {
        // render the error somehow
    }
}


 
niven sfniven sf
Thank You Raj V, problem is solved