How to fix SMTP after migrating from Managed to Unmanaged
-
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!
-
@jdaviescoates Does the unmanaged app need the SMTP plugin?
-
@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
-
@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.
-
@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.
-
@BrutalBirdie Oh, you're not the original poster sorry!
-
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.
-
@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.
-
@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.
-
@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!
-
@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.