Umbraco.Commerce.Checkout Confirmation email smtp ...
# help-with-umbraco
h
Hi I am having trouble with confirmation emails not arriving. It works locally in development with :
Copy code
"Smtp": {
  "From": "noreply-DEV@devdomain.tld",
  "DeliveryMethod": "SpecifiedPickupDirectory",
  "PickupDirectoryLocation": "C:\\DEV\\Emails"
}
But on server with
Copy code
"Smtp": {
  "From": "noreply-TEST@stagingdomain.tld",
  "DeliveryMethod": "Network",
  "Host": "192.168.101.233"
}
Nothing seems to happen. I am looking in back-office -> Settings -> log viewer but I can't see any errors or warnings. What should I look for if I suspect there is an smtp issue? I have checked that the confirmation email template is selected for the store and the path is correct.
s
Do you have an SMTP server setup on that IP? Where did you get those details? On most hosts i tend to use a service like Send Grid or similar to handle emails. There's a recent thread with people discussing Send grid like services with a free tier - try that.
You would then replace with "Smtp": { "From": "xx@domain.me", "Host": "smtp.sendgrid.net", "Username": "apikey", "Password": "xxxxxxxxxxxxxxx", //"SecureSocketOptions": "StartTls", "Port": 587 }
h
I do not know the details of the smtp server implementation, only that these details work on other sites. I will reach out to the admin for the server and see if they can trace an attempt to connect/send.
s
Are other sites .net core? I have a vague recollection of some default changing. Try: "EnableSsl": "true"
h
Thanks I'll give it a go.
9 Views