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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Use Cloudron email for sending email (smtp) on application hosted outside Cloudron

Use Cloudron email for sending email (smtp) on application hosted outside Cloudron

Scheduled Pinned Locked Moved Solved Support
mail
8 Posts 3 Posters 1.6k Views 3 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.
  • A Offline
    A Offline
    andirahmat
    wrote on last edited by girish
    #1

    Hi. I have this need of using Cloudron email as and email server (smtp email relay/sending email) on application outside Cloudron. I have follow guide in here : https://docs.cloudron.io/email/#smtp

    In the application i have setup smtp config as follow :
    Driver : smtp
    Host : my.xxx.yyy (my main cloudron domain)
    Port : 587
    User : abc@xxx.yyy (i have created this mailbox in the cloudron email setting)
    Password : My Cloudron password where my user assign to the mailbox as owner
    Encryption : STARTTLS

    But when i test sending email, it says failed.

    I tried send and recieve email from roundcube it works fine.

    I need this to replace gmail smtp email relay using less secure app setting (on).

    Is there anyone face this problem before?

    girishG 1 Reply Last reply
    0
    • A andirahmat

      Hi. I have this need of using Cloudron email as and email server (smtp email relay/sending email) on application outside Cloudron. I have follow guide in here : https://docs.cloudron.io/email/#smtp

      In the application i have setup smtp config as follow :
      Driver : smtp
      Host : my.xxx.yyy (my main cloudron domain)
      Port : 587
      User : abc@xxx.yyy (i have created this mailbox in the cloudron email setting)
      Password : My Cloudron password where my user assign to the mailbox as owner
      Encryption : STARTTLS

      But when i test sending email, it says failed.

      I tried send and recieve email from roundcube it works fine.

      I need this to replace gmail smtp email relay using less secure app setting (on).

      Is there anyone face this problem before?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @andirahmat Your settings seem correct. Does the app have any error logs?

      A 1 Reply Last reply
      0
      • girishG girish

        @andirahmat Your settings seem correct. Does the app have any error logs?

        A Offline
        A Offline
        andirahmat
        wrote on last edited by andirahmat
        #3

        @girish I could not find error log related email. There is no error log on the apache.
        I tried send and recieve email from roundcube it works fine on cloudron.

        Can I use TLS as encryption on cloudron email server? Because when i use gmail as smtp with TLS it works fine. Or is it possible the app does not support STARTTLS.

        1 Reply Last reply
        0
        • subvenS Offline
          subvenS Offline
          subven
          wrote on last edited by
          #4

          What app are we talking about?

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            I am assuming it's a custom app. @andirahmat is it not your app? If so, why can't it log why it can't send mail?

            A 1 Reply Last reply
            0
            • girishG girish

              I am assuming it's a custom app. @andirahmat is it not your app? If so, why can't it log why it can't send mail?

              A Offline
              A Offline
              andirahmat
              wrote on last edited by
              #6

              @girish yes I'm trying to contact the developer about the mail log.

              girishG 1 Reply Last reply
              0
              • A andirahmat

                @girish yes I'm trying to contact the developer about the mail log.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @andirahmat You can test this with swaks.

                swaks -server my.xxx.yyy:587 -tls --auth-user abc@xxx.yyy --auth-password password --to test@somemail.com --from abc@xxx.yyy
                
                A 1 Reply Last reply
                0
                • girishG girish

                  @andirahmat You can test this with swaks.

                  swaks -server my.xxx.yyy:587 -tls --auth-user abc@xxx.yyy --auth-password password --to test@somemail.com --from abc@xxx.yyy
                  
                  A Offline
                  A Offline
                  andirahmat
                  wrote on last edited by
                  #8

                  @girish said in Use Cloudron email for sending email (smtp) on application hosted outside Cloudron:

                  @andirahmat You can test this with swaks.

                  swaks -server my.xxx.yyy:587 -tls --auth-user abc@xxx.yyy --auth-password password --to test@somemail.com --from abc@xxx.yyy
                  

                  I've tried this command and works well. The problem is the app, still waiting for the developer response. Thank you @girish

                  1 Reply Last reply
                  1
                  • 8 81ewlska referenced this topic on
                  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