diff --git a/django_mailbox/migrations/0010_alter_mailbox_uri.py b/django_mailbox/migrations/0010_alter_mailbox_uri.py new file mode 100644 index 0000000..d175f44 --- /dev/null +++ b/django_mailbox/migrations/0010_alter_mailbox_uri.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.25 on 2026-06-23 09:18 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('django_mailbox', '0009_alter_message_eml'), + ] + + operations = [ + migrations.AlterField( + model_name='mailbox', + name='uri', + field=models.CharField(blank=True, default=None, help_text="Example: imap+ssl://myusername:mypassword@someserver

Internet transports include 'imap' and 'pop3'; common local file transports include 'maildir', 'mbox', and less commonly 'babyl', 'mh', and 'mmdf'.

Be sure to urlencode your username and password should they contain illegal characters (like @, :, etc).", max_length=2048, null=True, verbose_name='URI'), + ), + ] diff --git a/django_mailbox/models.py b/django_mailbox/models.py index 33039e0..703dd80 100644 --- a/django_mailbox/models.py +++ b/django_mailbox/models.py @@ -64,7 +64,7 @@ class Mailbox(models.Model): uri = models.CharField( _('URI'), - max_length=255, + max_length=2048, help_text=(_( "Example: imap+ssl://myusername:mypassword@someserver
" "
"