This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This example makes use of Google Drive (Backup and Sync from Google), but you can use other shared drive services such as OneDrive, Dropbox, box.com, WebDAV... as well. | |
Always replace [username] with your username on your device (you can find this by going to C:\Users in Windows Explorer). | |
Requirements: | |
- correctly installed and configured FileZilla | |
- correctly installed and configured shared drive service that is installed in the same user directory and uses the same account on all the devices | |
1. In Windows Explorer, go to C:\Users\[username]\AppData\Roaming\FileZilla\sitemanager.xml | |
2. Open a new Windows Explorer window and go to the shared drive location (e.g. C:\Users\[username]\Google Drive\FileZilla) | |
3. Copy the sitemanager.xml from the "roaming" Windows Explorer window to the "shared drive" window | |
4. In the "roaming" Windows Explorer window, rename sitemanager.xml to sitemanager.xml.BAK to create a back-up file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Mailer extends PHPMailer { | |
/** | |
* Save email to a folder (via IMAP) | |
* | |
* This function will open an IMAP stream using the email | |
* credentials previously specified, and will save the email | |
* to a specified folder. Parameter is the folder name (ie, Sent) |