Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am sending out certain emails to contacts from my dev org. And when a contact replies to the sent email then my configured return address (please see screenshot attached) is proposed as default "To Address". This all works fine. But I have requirement, in which, I want to process the email sent by the contact using apex inbound handler. So, I changed my return address to configured salesforce email address. Please see the screenshot. But this will send a confirmation email to this salesforce email address and only after accepting this,it will be reflected in the org. Is there any way to avoid this confirmation email?

enter image description here

share|improve this question
Did u miss adding the screenshot? Isn't this a one time confirmation? – Richard N Feb 11 '13 at 4:35
@RichardN check now. – doga Feb 11 '13 at 4:40
I have limited knowledge of the apex inbound handler. But am not sure why you are changing the address on this screen, Have you taken a look at this?… – Richard N Feb 11 '13 at 4:49
I have already created inbound email handler which successfully processes any email comes to it. But I want all the emails inside salesforce to which contacts replied. – doga Feb 11 '13 at 5:52

You should be able to "trick" Salesforce into letting you do this with your Inbound Email Service's failure response settings.

  1. Ensure the Accept Email From setting of your Inbound Email Service does not contain any addresses with the domain in them
  2. Set the Unauthorized Sender Action to "Bounce Message"
  3. Check the Enable Error Routing box and use your personal email address in the Route Error Emails to This Email Address field
  4. Attempt to change your email address in the My Email Settings menu as you are doing in the screenshot in your question

A confirmation email will be sent to the email service address (which will promptly bounce the email because it's from an unauthorized sender), and you should quickly receive a message at your personal address stating something along the lines of 554 Transaction failed: is not authorized to send emails to this service.

The kicker is that the message you receive will have the authorization email attached to it. All you have to do is open the attachment, click on the verification link, and voila! Your change of address is confirmed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.