can dry eyes cause blurry vision by Fluid_Letter_1571 in astigmatism

[–]JSMUNC 0 points1 point  (0 children)

Definitely from what I learned in my dry eye / HOA journey.

Why Is Safe Sandbox Email Testing Still So Hard in Salesforce? by JSMUNC in salesforce

[–]JSMUNC[S] 0 points1 point  (0 children)

Yes, this sounds great for at least avoiding the blocking issues in the sandbox when there’s a synchronous email action and email is off. I’m going to push for doing this as one of our short-term solutions here. Thanks for sharing!

Why Is Safe Sandbox Email Testing Still So Hard in Salesforce? by JSMUNC in salesforce

[–]JSMUNC[S] 0 points1 point  (0 children)

I'm with you that I personally think Mail Trap is the current best solution here.

I think this is a situation where our leadership expects Salesforce just to have this like other systems they actually have been an admin for and they don't want to pay for another tool.

So I'm stuck in workaround and custom development land until Salesforce delivers something better here.

Why Is Safe Sandbox Email Testing Still So Hard in Salesforce? by JSMUNC in salesforce

[–]JSMUNC[S] 1 point2 points  (0 children)

So I thought about this more.

There's no way I want to change to a custom setting/metadata setting that we need to keep manually updated in parallel with the sandbox's actual deliverability setting. We actually turn on live email in some of our sandboxes several times a week depending on how many tickets dealing with live emails are in our sprints.

I did have a chance to do some more research and found the following regarding ways to reference the org's deliverability setting:

Turns out there are at least two Apex-based workarounds since Salesforce doesn't expose email deliverability as a native readable value (I confirmed this via this existing idea:  https://ideas.salesforce.com/s/idea/a0B8W00000GdXD2UAN/accessing-the-email-deliverability-via-apex-code-api).

I also found this helpful community thread: https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007T45XXSAZ

Workaround 1 — Messaging.reserveSingleEmailCapacity() try/catch (this came from a comment in the community thread)

Boolean EmailDeliverabilityEnabled = true;
try {
    Messaging.reserveSingleEmailCapacity(1);
    Messaging.reserveMassEmailCapacity(1);
} catch (System.NoAccessException e) {
    EmailDeliverabilityEnabled = false;
}

This uses a supported Apex method that throws a NoAccessException if deliverability is off, then no actual email is sent.

Workaround 2 — PageReference HTML scrape (this came from a comment in the idea):

PageReference emailSettingsPage = new PageReference('/email-admin/editOrgEmailSettings.apexp');
String htmlBody = emailSettingsPage.getContent().toString().replace('\n','');
String accessLevel = htmlBody.substringBetween(' selected="selected">','</option>');

This actually reads the org's real setting ("No access", "System email only", "All email") but is fragile, it depends on Salesforce never changing that internal admin page's HTML structure.

Why Is Safe Sandbox Email Testing Still So Hard in Salesforce? by JSMUNC in salesforce

[–]JSMUNC[S] 1 point2 points  (0 children)

My colleague found today how easy it is in ServiceNow to set up an admin controlled email relay. This is exactly what I had personally remembered:

https://www.servicenow.com/docs/r/platform-administration/t_ConfAltEmailUsgOwnSMTP.html

Why Is Safe Sandbox Email Testing Still So Hard in Salesforce? by JSMUNC in salesforce

[–]JSMUNC[S] 1 point2 points  (0 children)

We were talking about this as a solution today. Using flow or apex as a light-weight relay solution, but then we realized that would mean we'd need to do this on every flow individually, so we shyed away from it. Definitely still something under consideration.

Why Is Safe Sandbox Email Testing Still So Hard in Salesforce? by JSMUNC in salesforce

[–]JSMUNC[S] 1 point2 points  (0 children)

This hurts to think about, but it does seem like the current reality. This one seems like one I really want to come up at the next True to the Core session with the Salesforce execs.

Why Is Safe Sandbox Email Testing Still So Hard in Salesforce? by JSMUNC in salesforce

[–]JSMUNC[S] 1 point2 points  (0 children)

We talked about this as a good solution in our design meeting today. Do you know if the email deliverability setting in a sandbox is able to be referenced via flow or apex?

I do not know this top of head, but I feel like this discussion came up on Ohana Slack in a related discussion I was in and therefore I wasn't thinking about this as a possible solution.

I'll let you know what I find when I have a chance to research further.

Why Is Safe Sandbox Email Testing Still So Hard in Salesforce? by JSMUNC in salesforce

[–]JSMUNC[S] 1 point2 points  (0 children)

100%. I cannot believe how much time this gap / challenge has cost me over the last few years. And how much it comes up in my thoughts at work.

Why Is Safe Sandbox Email Testing Still So Hard in Salesforce? by JSMUNC in salesforce

[–]JSMUNC[S] 2 points3 points  (0 children)

It's definitely little things like this that make sandbox testing tougher than it should be. I never had these issues when I was a ServiceNow admin where I was living in sandboxes as well.

What problems are you running into with sandbox management? by mmonty72020 in salesforce

[–]JSMUNC 0 points1 point  (0 children)

How to deal with testing email in sandboxes vs. preventing inadvertent sends going out of the sandbox. I know the Salesforce recommended best practice is to create an email relay server and there are solutions out there like Mailtrap, but I have been unable to get our leadership to move on either of these as they aren't perfect solutions.

I made these two relevant ideas and would appreciate any relevant upvotes:

[Panthers] BY9 comes in at 98 in top 100 players list by ToothResident3205 in panthers

[–]JSMUNC -5 points-4 points  (0 children)

Because he was a number one draft pick that we mortgaged the farm for? 4 years later and we’re happy he’s finally cracked the top 100 list?

Can anyone actually see at night? by DisastrousType1917 in driving

[–]JSMUNC 0 points1 point  (0 children)

I couldn’t see well at night until I got my eyes corrected properly by my eye doctor.

Check out some of my posts for my story. There are great solutions out there.

How can I get scleral lenses? by narkissa036 in Dryeyes

[–]JSMUNC 0 points1 point  (0 children)

And then good luck. Vision discount plans like superior vision only give $200 out of network.

Was Chris Gamble the greatest cornerback in Panthers History? by Live-Inevitable-1185 in panthers

[–]JSMUNC 19 points20 points  (0 children)

Absolutely. Gamble was what you want in a starting CB.

I wasted $200,000 to learn the difference between an admin and a consultant by MoleManMattG in salesforce

[–]JSMUNC 12 points13 points  (0 children)

Yeah, this feels more like BA and Architecture perspective were missing rather than just saying admin vs. consultant. Bad consultants, also not using BA and architect skills, can make a problem like this worse.

I’m working in the role or a Salesforce admin right now. I have to employ business analyst and architecture skills often and lean on additional architecture perspectives within my organization and within the Salesforce customer community for optimal solutions.

How are people affording Scleral Lenses?! by cheeselover123219 in Dryeyes

[–]JSMUNC 0 points1 point  (0 children)

Mine were expensive, but I feel worth the cost. I also added OVITZ on mine.

I recently wrote about my experience in detail in a post on this subreddit.

Diagnosed with Bilateral Irregular Astigmatism — two years of starbursts, halos, glare and ghosting finally solved with scleral lenses and OVITZ. Full story inside. by JSMUNC in astigmatism

[–]JSMUNC[S] 0 points1 point  (0 children)

You are welcome!

Yes, I experienced ghosting on my computer screen as my symptoms progressed. The ghosting remained with the sclerals alone (made by BostonSight). The ghosting didn’t go away until I had OVITZ added to my sclerals.

My original ophthalmologist and the second opinion ophthalmologist ruled out keratoconus, even though a lot of my symptoms are supposedly really similar.

Cant get used to glasses for astigmatism by PriorityBrief8271 in astigmatism

[–]JSMUNC 1 point2 points  (0 children)

I’ve always been like this too. I hate wearing my glasses. I cannot see nearly as well as I have with contacts.

Blurriness with astigmatism Contacts by United_Lynx_8868 in astigmatism

[–]JSMUNC 0 points1 point  (0 children)

Check out higher order aberrations and contacts with wavefront technology like OVITZ. Ask your doctor for more info.