In a .Net 4.6 web application, I had a setting in web.config that let me globally set the DeliveryMethod and SpecificPickupLocation for all smtp emails I sent from my application.
web.config section:
<system.net>
<mailSettings>
<smtp deliveryMethod="SpecifiedPickupDirectory">
<specifiedPickupDirectory pickupDirectoryLocation="c:\Temp\" />
</smtp>
</mailSettings>
</system.net>
My question is, in a Blazor application where you don't have a web.config, how do you set a similar global setting for smtp