Sending an email notification using alert & notification #100
-
Hi All, I am working on a use case to test alert & notification to send an email notification when a device-service is added or deleted. Testing by running EdgeX (Jakarta TLS) security services. Even though the response for subscription and notification is a success (201), I am not able to get the mail notification. There's no error on the metadata logs or the support-notification logs. metadata configuration.toml:
support-notification configuration.toml:
subscription : Request:
Response: Notification: Request:
Response: Transmission: Response: SMTP server connection:
Kindly help me out. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 38 replies
-
please check the notification service log. it's normally the authentication setting issue. |
Beta Was this translation helpful? Give feedback.
-
Did you create any Subscription with email channel in this service? |
Beta Was this translation helpful? Give feedback.
-
it looks like there are some confusions about the notification design. the "category" and "labels" in the notifications should fully match the subscription. Could you please try to create the Notification without setting the labels? curl -X 'POST' 'http://10.168.1.1:59860/api/v2/notification' -H 'accept: application/json' -H 'X-Correlation-ID: 14a42ea6-c394-41c3-8bcd-a29b9f5e6835' -H 'Content-Type: application/json' -d '[
|
Beta Was this translation helpful? Give feedback.
-
As explained in the link, do I need to add the username and password in Writable.InsecureSecrets.SMTP.Secrets section? |
Beta Was this translation helpful? Give feedback.
try