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. WordPress (Developer)
  3. How to fix SMTP after migrating from Managed to Unmanaged

How to fix SMTP after migrating from Managed to Unmanaged

Scheduled Pinned Locked Moved Solved WordPress (Developer)
mail
15 Posts 5 Posters 2.0k Views 5 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.
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by girish
    #1

    I just used the All in One Migration plugin to move a site from WordPress (Managed) to WordPress (Unmanaged).

    After I learned how to increase the max upload size so I could actually import my export, it all went really smoothly.

    But now SMTP isn't working and so it can't send emails.

    @d19dotca - how do I sort it? (I'm guessing you know as you've done this a migration a few times before)

    Thanks! ๐Ÿ˜„

    I use Cloudron with Gandi & Hetzner

    murgeroM 1 Reply Last reply
    0
    • jdaviescoatesJ jdaviescoates

      I just used the All in One Migration plugin to move a site from WordPress (Managed) to WordPress (Unmanaged).

      After I learned how to increase the max upload size so I could actually import my export, it all went really smoothly.

      But now SMTP isn't working and so it can't send emails.

      @d19dotca - how do I sort it? (I'm guessing you know as you've done this a migration a few times before)

      Thanks! ๐Ÿ˜„

      murgeroM Offline
      murgeroM Offline
      murgero
      App Dev
      wrote on last edited by
      #2

      @jdaviescoates Does the unmanaged app need the SMTP plugin?

      --
      https://urgero.org
      ~ Professional Nerd. Freelance Programmer. ~

      BrutalBirdieB 1 Reply Last reply
      0
      • murgeroM murgero

        @jdaviescoates Does the unmanaged app need the SMTP plugin?

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #3

        @murgero said in How to fix SMTP after migrating from Managed to Unmanaged:

        @jdaviescoates Does the unmanaged app need the SMTP plugin?

        https://git.cloudron.io/cloudron/wordpress-unmanaged-app/-/blob/master/CloudronManifest.json

        Sendmail Cloudron Addon is present.

        "addons": {
            "mysql": {},
            "localstorage": {
              "ftp": {
                "uid": 33,
                "uname": "www-data"
              }
            },
            "sendmail": {},
            "scheduler": {
              "wpcron": {
                "schedule": "*/1 * * * *",
                "command": "/app/pkg/cron.sh"
              }
            },
            "redis": {}
          }
        

        I have a wordpress inside a lamp-app and needed to install WP-Mail SMTP and these are my settings.

        # Mail sender
        * info@domain.tld
        
        # E-Mail Send Service
        * SMTP-Connection
        
        # SMTP-Server
        * mail
        
        # encryption
        * none
        
        # SMTP Port
        * 2525
        
        # SMTP Username
        * lampphp72.app@domain.tld
        
        # SMTP Passwort
        Check vars in cloudron console
        

        Like my work? Consider donating a drink. Cheers!

        murgeroM 1 Reply Last reply
        0
        • BrutalBirdieB BrutalBirdie

          @murgero said in How to fix SMTP after migrating from Managed to Unmanaged:

          @jdaviescoates Does the unmanaged app need the SMTP plugin?

          https://git.cloudron.io/cloudron/wordpress-unmanaged-app/-/blob/master/CloudronManifest.json

          Sendmail Cloudron Addon is present.

          "addons": {
              "mysql": {},
              "localstorage": {
                "ftp": {
                  "uid": 33,
                  "uname": "www-data"
                }
              },
              "sendmail": {},
              "scheduler": {
                "wpcron": {
                  "schedule": "*/1 * * * *",
                  "command": "/app/pkg/cron.sh"
                }
              },
              "redis": {}
            }
          

          I have a wordpress inside a lamp-app and needed to install WP-Mail SMTP and these are my settings.

          # Mail sender
          * info@domain.tld
          
          # E-Mail Send Service
          * SMTP-Connection
          
          # SMTP-Server
          * mail
          
          # encryption
          * none
          
          # SMTP Port
          * 2525
          
          # SMTP Username
          * lampphp72.app@domain.tld
          
          # SMTP Passwort
          Check vars in cloudron console
          
          murgeroM Offline
          murgeroM Offline
          murgero
          App Dev
          wrote on last edited by murgero
          #4

          @BrutalBirdie OK - in the unmanaged Wordpress app, did you also install the WP-mail SMTP plugin? Not to be confused with the sendmail addon from cloudron.

          --
          https://urgero.org
          ~ Professional Nerd. Freelance Programmer. ~

          BrutalBirdieB jdaviescoatesJ 2 Replies Last reply
          1
          • murgeroM murgero

            @BrutalBirdie OK - in the unmanaged Wordpress app, did you also install the WP-mail SMTP plugin? Not to be confused with the sendmail addon from cloudron.

            BrutalBirdieB Offline
            BrutalBirdieB Offline
            BrutalBirdie
            Partner
            wrote on last edited by
            #5

            @murgero said in How to fix SMTP after migrating from Managed to Unmanaged:

            @BrutalBirdie OK - in the unmanaged Wordpress app, did you also install the WP-mail SMTP plugin? Not to be confused with the sendmail addon from cloudron.

            Like I wrote, I do not use the unmanaged wordpress app, I use the lamp-app.

            Like my work? Consider donating a drink. Cheers!

            murgeroM 1 Reply Last reply
            0
            • BrutalBirdieB BrutalBirdie

              @murgero said in How to fix SMTP after migrating from Managed to Unmanaged:

              @BrutalBirdie OK - in the unmanaged Wordpress app, did you also install the WP-mail SMTP plugin? Not to be confused with the sendmail addon from cloudron.

              Like I wrote, I do not use the unmanaged wordpress app, I use the lamp-app.

              murgeroM Offline
              murgeroM Offline
              murgero
              App Dev
              wrote on last edited by
              #6

              @BrutalBirdie Oh, you're not the original poster ๐Ÿ˜– sorry!

              --
              https://urgero.org
              ~ Professional Nerd. Freelance Programmer. ~

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

                I think that's the missing bit - WP-Mail SMTP needs to be installed and has to be installed. After that, if you restart the app, the package will automatically re-configure that plugin to use the sendmail addon credentials.

                jdaviescoatesJ 1 Reply Last reply
                4
                • d19dotcaD Offline
                  d19dotcaD Offline
                  d19dotca
                  wrote on last edited by
                  #8

                  Okay, so in my experience using WP-All-In-One Migration plugin, you want to make sure the "Do not replace email domain" is selected, assuming you're putting it eventually back on the original domain. Otherwise you will need to leave it unchecked so that it carries over and takes on the new SMTP settings as that not only impacts the email domain shown on the public site but the settings in WP Mail SMTP too.

                  --
                  Dustin Dauncey
                  www.d19.ca

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • girishG girish

                    I think that's the missing bit - WP-Mail SMTP needs to be installed and has to be installed. After that, if you restart the app, the package will automatically re-configure that plugin to use the sendmail addon credentials.

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #9

                    @girish said in How to fix SMTP after migrating from Managed to Unmanaged:

                    I think that's the missing bit - WP-Mail SMTP needs to be installed and has to be installed. After that, if you restart the app, the package will automatically re-configure that plugin to use the sendmail addon credentials.

                    It is installed, it's just the credentials are wrong (I think), because they've been copied over from the Managed one when I imported the All in one Migration export files with the db and files etc.

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    0
                    • murgeroM murgero

                      @BrutalBirdie OK - in the unmanaged Wordpress app, did you also install the WP-mail SMTP plugin? Not to be confused with the sendmail addon from cloudron.

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #10

                      @murgero said in How to fix SMTP after migrating from Managed to Unmanaged:

                      OK - in the unmanaged Wordpress app, did you also install the WP-mail SMTP plugin?

                      Just to say, no, the WP Mail SMTP plugin is installed by default in both the Managed and Unmanaged Wordpress apps.

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      0
                      • d19dotcaD d19dotca

                        Okay, so in my experience using WP-All-In-One Migration plugin, you want to make sure the "Do not replace email domain" is selected, assuming you're putting it eventually back on the original domain. Otherwise you will need to leave it unchecked so that it carries over and takes on the new SMTP settings as that not only impacts the email domain shown on the public site but the settings in WP Mail SMTP too.

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #11

                        @d19dotca said in How to fix SMTP after migrating from Managed to Unmanaged:

                        Okay, so in my experience using WP-All-In-One Migration plugin, you want to make sure the "Do not replace email domain" is selected, assuming you're putting it eventually back on the original domain.

                        Aha.

                        I didn't actually see any options, will check next time I do it!

                        Thanks. And yes, it's at the same domain.

                        But still not really sure what to do now, given I didn't select "Do not replace email domain".

                        Where and when do you see that option? When creating the export? Or when importing the export?

                        Thanks!

                        I use Cloudron with Gandi & Hetzner

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

                          @jdaviescoates Just restart the app. Repair -> Restart. It will fix up the credentials of the SMTP plugin.

                          jdaviescoatesJ 1 Reply Last reply
                          4
                          • girishG girish

                            @jdaviescoates Just restart the app. Repair -> Restart. It will fix up the credentials of the SMTP plugin.

                            jdaviescoatesJ Offline
                            jdaviescoatesJ Offline
                            jdaviescoates
                            wrote on last edited by
                            #13

                            @girish worked, thanks! Should've thought to just try that in the first instance! ๐Ÿ™‚

                            I use Cloudron with Gandi & Hetzner

                            1 Reply Last reply
                            0
                            • jdaviescoatesJ jdaviescoates

                              @d19dotca said in How to fix SMTP after migrating from Managed to Unmanaged:

                              Okay, so in my experience using WP-All-In-One Migration plugin, you want to make sure the "Do not replace email domain" is selected, assuming you're putting it eventually back on the original domain.

                              Aha.

                              I didn't actually see any options, will check next time I do it!

                              Thanks. And yes, it's at the same domain.

                              But still not really sure what to do now, given I didn't select "Do not replace email domain".

                              Where and when do you see that option? When creating the export? Or when importing the export?

                              Thanks!

                              d19dotcaD Offline
                              d19dotcaD Offline
                              d19dotca
                              wrote on last edited by
                              #14

                              @jdaviescoates looks like itโ€™s already fixed but for future reference those options are on export (too late by time youโ€™re doing import unfortunately). Thereโ€™s an advanced settings collapsible item (collapsed by default so not easy to see) above the export button. Itโ€™ll give you a bunch of options such as the email ones plus others like not exporting spam comments, revision history, plugins, themes, etc.

                              --
                              Dustin Dauncey
                              www.d19.ca

                              jdaviescoatesJ 1 Reply Last reply
                              1
                              • d19dotcaD d19dotca

                                @jdaviescoates looks like itโ€™s already fixed but for future reference those options are on export (too late by time youโ€™re doing import unfortunately). Thereโ€™s an advanced settings collapsible item (collapsed by default so not easy to see) above the export button. Itโ€™ll give you a bunch of options such as the email ones plus others like not exporting spam comments, revision history, plugins, themes, etc.

                                jdaviescoatesJ Offline
                                jdaviescoatesJ Offline
                                jdaviescoates
                                wrote on last edited by
                                #15

                                @d19dotca great, thanks ๐Ÿ™‚

                                I use Cloudron with Gandi & Hetzner

                                1 Reply Last reply
                                0
                                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