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
Mugdha RalegaonkarMugdha Ralegaonkar 

How to verify orgwide email address when the email account is not monitored?

Hi

We have a noreply@something.com email address which is used as a sender email address in the code.
As the emails to this email address are not monitored/ received/sent, how to verigy this when added in a org wide email address list?
 

All Answers

Mugdha KshirsagarMugdha Kshirsagar
so it has to be done through coding itself, no other way?
SandhyaSandhya (Salesforce Developers) 
Hi,

When you initially set up the org-wide email, it sends a verification email to the email address. There is a link in the email sent to the org-wide email address, that once clicked, verifies the address. Then, to double-check, the Admin can login to salesforce.com, and under Setup | Administration Setup | Email Administration | Org Wide Email Addresses, the status will be set to "Verified." the above links are useful when you want to do through Apex.


Thanks and Regards
Sandhya
Mugdha RalegaonkarMugdha Ralegaonkar
Hi Sandhya,

yes that is the ideal scenario.
But in my case, I can't receive the email on email address.
SandhyaSandhya (Salesforce Developers) 
Hi,

As emails to this email address are not monitored/ received/sent then as per my knowledge coding would be the solution.

Thanks and Regards
Sandhya
Mugdha RalegaonkarMugdha Ralegaonkar
Okay, Thank you!
James AustinJames Austin
Hi. I would strongly recommend using online email verification services for it, like proofy.io. I think that will help.