rgladwell / imap-upload

Python script for uploading a local mbox file to IMAP4 server.
Other
130 stars 30 forks source link

Problem Send to Cpanel account #33

Open guimedeiross opened 2 years ago

guimedeiross commented 2 years ago

When trying to send emails to an account that uses cpanel, the following error occurs.

(Mailbox name should probably be prefixed with: INBOX.)

rgladwell commented 2 years ago

Could you use the --box argument? Something like:

python imap_upload.py --host example.com --port 993 --box INBOX mail.mbox
gerhardvz commented 2 years ago

I just had the same problem but with recursive upload. I noted that you have to set folder_separator since the default is '/' and Cpanel uses '.'

rgladwell commented 2 years ago

And if you use the --folder_separator argument, it then works for Cpanel?