Option to return HTTP response text for SMTP #3845

Open
opened 2026-02-28 03:42:54 -05:00 by deekerman · 0 comments
Owner

Originally created by @krowvin on GitHub (Dec 19, 2024).

Did not see related issue

🏷️ Feature Request Type

Change to existing notification-provider, Change to existing monitor

🔖 Feature description

Requesting the SMTP notification option allow optional toggling (opt in) of the monitor to return its response text.

✔️ Solution

  1. User sets up alert for HTTP GET on a REST API
  2. User enables SMTP
  3. User checks box to enable response text
  4. Code returns the HTTP response in the body of the email with a set character limit of ####

Alternatives

Allowing a response message lets you do things like create cgi-bin scripts that can dymancally change response codes and return additional JSON data based on the response returned.

📝 Additional Context

Having control of also being able to optionally set response body in the email will add more definition to the alerts.

Here are examples of what i was able to do in my own clone for what I need.
image
image

Having this going forward would certainly make it easier for me to update!

Originally created by @krowvin on GitHub (Dec 19, 2024). ### 📑 I have found these related issues/pull requests Did not see related issue ### 🏷️ Feature Request Type Change to existing notification-provider, Change to existing monitor ### 🔖 Feature description Requesting the SMTP notification option allow optional toggling (opt in) of the monitor to return its response text. ### ✔️ Solution 1. User sets up alert for HTTP GET on a REST API 2. User enables SMTP 3. User checks box to *enable response text* 4. Code returns the HTTP response in the body of the email with a set character limit of #### ### ❓ Alternatives Allowing a response message lets you do things like create cgi-bin scripts that can dymancally change response codes and return additional JSON data based on the response returned. ### 📝 Additional Context Having control of also being able to optionally set response body in the email will add more definition to the alerts. Here are examples of what i was able to do in my own clone for what I need. <img width="530" alt="image" src="https://github.com/user-attachments/assets/a044d828-fd16-44aa-99cb-db7a7ec9f379" /> <img width="516" alt="image" src="https://github.com/user-attachments/assets/b2287887-3f74-4adf-a254-5345885343bc" /> Having this going forward would certainly make it easier for me to update!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#3845
No description provided.