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
David FultonDavid Fulton 

Get Started with Apex Trailhead tutorial - not receiving e-mail

Hi, I'm following the Trailhead Apex tutorial ( and following the steps that should send an e-mail.

The code is copied straight from the tutorial and looks right to me.  When I execute it, I get the right debug log ("Email sent successfully") and I can't see anything untoward in the rest of the output, but I'm not receiving the mail.  I've tried two different addresses on two different domains and given it some time (about 20 minutes), but nothing has arrived.

Is there a setting somewhere that might be blocking this?

Many thanks
AnudeepAnudeep (Salesforce Developers) 
Hi David, 

We have separate Trailhead team who can help you with these issues. Please use the below link to reach out to them and one of our agents will get in touch with you.

Thank you!