mailbox-org-api 1.2__tar.gz → 1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/PKG-INFO +1 -1
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/mailbox_org_api/APIClient.py +5 -2
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/mailbox_org_api.egg-info/PKG-INFO +1 -1
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/pyproject.toml +1 -1
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/setup.py +1 -1
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/LICENSE +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/README.md +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/mailbox_org_api/Account.py +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/mailbox_org_api/Invoice.py +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/mailbox_org_api/Mail.py +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/mailbox_org_api/__init__.py +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/mailbox_org_api.egg-info/SOURCES.txt +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/mailbox_org_api.egg-info/dependency_links.txt +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/mailbox_org_api.egg-info/top_level.txt +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/setup.cfg +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/tests/TestAPIClient.py +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/tests/TestAccount.py +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/tests/TestInvoice.py +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/tests/TestMail.py +0 -0
- {mailbox_org_api-1.2 → mailbox_org_api-1.3}/tests/__init__.py +0 -0
|
@@ -433,7 +433,8 @@ class APIClient:
|
|
|
433
433
|
return self.api_request('mail.list', params)
|
|
434
434
|
|
|
435
435
|
def mail_add(self, mail:str, password: str, plan: str, first_name: str, last_name: str, inboxsave: bool = True,
|
|
436
|
-
forwards: list = None, memo: str = None, language: str = 'en_US',
|
|
436
|
+
forwards: list = None, memo: str = None, language: str = 'en_US', skip_welcome_mail = False,
|
|
437
|
+
uid_extern: str = None) -> dict:
|
|
437
438
|
"""
|
|
438
439
|
Function to add a mail
|
|
439
440
|
:param mail: the mail to add
|
|
@@ -445,6 +446,7 @@ class APIClient:
|
|
|
445
446
|
:param forwards: List of addresses to forwards mails to
|
|
446
447
|
:param memo: Memo of the mail
|
|
447
448
|
:param language: the language of the mail in locale format
|
|
449
|
+
:param skip_welcome_mail: True if the welcome mail should be skipped, False if it should be sent
|
|
448
450
|
:param uid_extern: the external UID of the mail
|
|
449
451
|
:return: the response for the request
|
|
450
452
|
"""
|
|
@@ -455,7 +457,8 @@ class APIClient:
|
|
|
455
457
|
return self.api_request('mail.add',{'mail':mail, 'password':password, 'plan':plan,
|
|
456
458
|
'first_name':first_name, 'last_name':last_name,
|
|
457
459
|
'inboxsave':inboxsave, 'forwards':forwards, 'memo':memo,
|
|
458
|
-
'language':language, '
|
|
460
|
+
'language':language, 'skip_welcome_mail':skip_welcome_mail,
|
|
461
|
+
'uid_extern':uid_extern})
|
|
459
462
|
|
|
460
463
|
def mail_get(self, mail: str, include_quota_usage: bool = False) -> dict:
|
|
461
464
|
"""
|
|
@@ -3,7 +3,7 @@ from setuptools import find_packages, setup
|
|
|
3
3
|
setup(
|
|
4
4
|
name='mailbox_org_api',
|
|
5
5
|
packages=find_packages(),
|
|
6
|
-
version='1.
|
|
6
|
+
version='1.3',
|
|
7
7
|
description='A library to access the mailbox.org Business API',
|
|
8
8
|
author='Hendrik Schlange',
|
|
9
9
|
install_requires=['requests'],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|