Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. App Packaging & Development
  3. Cloudron API - exposes domain email config ?

Cloudron API - exposes domain email config ?

Scheduled Pinned Locked Moved App Packaging & Development
6 Posts 2 Posters 51 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • timconsidineT Online
    timconsidineT Online
    timconsidine
    App Dev
    wrote last edited by timconsidine
    #1

    Working on scripting in my ClouDNS Steward app

    I want to programatically retrieve information on a domain's email settings which is visible in the Cloudron portal (all, not just the bits in the screenshot), e.g.

    Screenshot 2026-01-19 at 17.20.05.png

    NB : this is a GET - I am not trying to change anything in Cloudron

    Is there a way to do this "properly" ?
    Or I have to get creative and hack something ?

    Custom apps available at CCAI https://ccai.appx.uk (ask if an app is not listed in the catalogue).

    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @timconsidine
      Do you mean https://docs.cloudron.io/api/get-mail-status ?
      You can even try this API inside the documentation.

      timconsidineT 2 Replies Last reply
      1
      • jamesJ james

        Hello @timconsidine
        Do you mean https://docs.cloudron.io/api/get-mail-status ?
        You can even try this API inside the documentation.

        timconsidineT Online
        timconsidineT Online
        timconsidine
        App Dev
        wrote last edited by
        #3

        @James yes ! I think that meets the needs 👍

        I don't know I didn't realise that, probably because my brain was focussed on settings not status.

        Let me explore further.

        Custom apps available at CCAI https://ccai.appx.uk (ask if an app is not listed in the catalogue).

        1 Reply Last reply
        0
        • jamesJ james

          Hello @timconsidine
          Do you mean https://docs.cloudron.io/api/get-mail-status ?
          You can even try this API inside the documentation.

          timconsidineT Online
          timconsidineT Online
          timconsidine
          App Dev
          wrote last edited by
          #4

          @James yes !

          Not only does it provide me with the expected settings (the GET that I originally wanted), it also makes the expected vs actual test. So I don't need to do so in my code ! That makes the whole job easier.

          Many thanks for the link and for a nice implementation of the functionality 👍

          Custom apps available at CCAI https://ccai.appx.uk (ask if an app is not listed in the catalogue).

          jamesJ 1 Reply Last reply
          1
          • timconsidineT timconsidine

            @James yes !

            Not only does it provide me with the expected settings (the GET that I originally wanted), it also makes the expected vs actual test. So I don't need to do so in my code ! That makes the whole job easier.

            Many thanks for the link and for a nice implementation of the functionality 👍

            jamesJ Offline
            jamesJ Offline
            james
            Staff
            wrote last edited by
            #5

            Hello @timconsidine
            Happy to help.
            The new API doc where you can actually test the API inside the doc is really nice for such cases.

            timconsidineT 1 Reply Last reply
            1
            • jamesJ james

              Hello @timconsidine
              Happy to help.
              The new API doc where you can actually test the API inside the doc is really nice for such cases.

              timconsidineT Online
              timconsidineT Online
              timconsidine
              App Dev
              wrote last edited by
              #6

              @James absolutely ! Very cool ! 👍

              That was actually a break-through moment to get over blind poking and assessing output. So thank you again.

              Custom apps available at CCAI https://ccai.appx.uk (ask if an app is not listed in the catalogue).

              1 Reply Last reply
              1
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search