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
Yogini Mane 10Yogini Mane 10 

Not receiving verification code for developer sandbox

Hi,

I have developer edition sandbox, when i enter my password it takes it successfully but after that verification code sent to email address.
I am not receiving email sent with verification code by salesforce. I have been trying from last 2-3 days and no clue why this email not receiving to my email.
Anyone how i can get into my sandbox? This developer sandbox is very important to me as I have linked my trailhead to that sandbox.
 
Raj VakatiRaj Vakati
Looks like you have change email delivarability to No EMails 
Yogini Mane 10Yogini Mane 10
Hi Raj,

Any idea what should we do then?
 
Dave Leach (Sporcle)Dave Leach (Sporcle)
Old thread, but it's one of the first hits on Google when looking for a solution. I was stuck with the same problem: in a sandbox, email addresses are mangled so that real users don't receive messages while code is in development. Unfortunately, Salesforce uses that mangled address when sending the account activation email, so the developer will never receive it.

The way to avoid this is to set and verify the users's mobile number (https://help.salesforce.com/articleView?id=000199287&type=1) in the main Salesforce org (i.e. the org from which the sandbox is created). If there's a valid mobile number, Salesforce will use SMS for verification instead of email. It appears that, if Salesforce has tried at least once to verify the user via email, it won't give up on email and use SMS even if a phone number is available. It's therefore important to set the user's mobile number before their first login to the sandbox.
Shashidhar LakkineniShashidhar Lakkineni
If the issue still exist try this workaround 
https://trailblazers.salesforce.com/answers?id=90630000000guMOAAY