I haven't tried this but... had a nagging feeling there might need to be some depth to the json structure, as in the old money, things like the pickupDirectoryLocation were attributes of the specifiedpickupdirectory element... so 'i think' in json config it might be more like this?
No the IIS Expree should not make any differ.
Hmm only think I can see is if PickupDirectoryLocationis is not configued or Umbraco not can finde the PickupDirectoryLocation path on the local machine, it will fallback to host.
Do you have the path C:\dev\test created on your machine?
Else to it out, and make the folders.
Sorry about the no contact I got extremely busy and this took a back seat, really appreciate all the help here though.
I'm pretty sure that I have everything set up correctly, and the site is using send grid in production without any issues, so the config section is in the right place.
The post below says it is a bug, my next step will be to play around with sourcelink and see whats going on internally.
How to use smtp SpecifiedPickupDirectory via appsettings.json
Hi there,
I am trying to set up my local environment to use SpecifiedPickupDirectory delivery method on my local install. I've set up the appsettings like so:
If i take out the host and port it seems to fallback to the default values (same as here) and then fails to connect.
Does anyone have this set up and working? I am sure it is just a mismatch in the values I've set.
The production and staging environments are working fine connecting with sendgrid so its not a major, but I would like to figure it out.
Thanks!
Hi James
I haven't tried this but... had a nagging feeling there might need to be some depth to the json structure, as in the old money, things like the pickupDirectoryLocation were attributes of the specifiedpickupdirectory element... so 'i think' in json config it might be more like this?
regards
Marc
This how my SMTP configuration for SpecifiedPickupDirectory
Thanks for the tips, Im still getting nowhere with these updated settings.
It seems like it is still trying to connect using network settings:
Is this expected when using pickup directory?
To help even more I need some more details. Where have you located the SMTP configuration at appsettings.json
So is the Smtp config at the root of the root of the json or neasted in some other object?
My Appsettings is like this:
And a look down i the Source of Umrabco the first thing the do in SendAsyncInternal is chech if the PickupDirectoryLocation isnullorwhitespace
So my best guess is the SMTP config is place at wrong place.
The default settings in the appsetting is a SMTP config is not provied is Nework
Thanks for keeping on coming back on this, its really appreciated.
Here is the config I am using (database and guid id values replaced with fake data.)
I need to escape the back slashes in my path or I get a runtime error about unescaped values.
I am hosting with IIS Express, if that makes a difference?
Hello James,
No the IIS Expree should not make any differ. Hmm only think I can see is if PickupDirectoryLocationis is not configued or Umbraco not can finde the PickupDirectoryLocation path on the local machine, it will fallback to host.
Do you have the path C:\dev\test created on your machine? Else to it out, and make the folders.
Sorry about the no contact I got extremely busy and this took a back seat, really appreciate all the help here though.
I'm pretty sure that I have everything set up correctly, and the site is using send grid in production without any issues, so the config section is in the right place.
The post below says it is a bug, my next step will be to play around with sourcelink and see whats going on internally.
hi everyone, this is a bug. pls up vote https://github.com/umbraco/Umbraco-CMS/pull/11548 and hopefully it can get pulled into 9.1.2 or 9.2
thanks
is working on a reply...