Replies: 1 comment
-
The inbox rule implementation in exchangelib uses the I don't know where this lands when you look at it in Outlook. You could try to create a junk rule in Outlook and use exchangelib to see if that rule is exposed via |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
Hello, I would like to ask if there is an interface for creating junk rules through the API?
Describe the solution you'd like
![image](https://private-user-images.githubusercontent.com/34082198/320254433-2dd0913c-defc-4125-a7d9-62cf9a139526.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTQ5NzksIm5iZiI6MTczOTE1NDY3OSwicGF0aCI6Ii8zNDA4MjE5OC8zMjAyNTQ0MzMtMmRkMDkxM2MtZGVmYy00MTI1LWE3ZDktNjJjZjlhMTM5NTI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDAyMzExOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNjY2U1MjI3ODMxZjU1YzExMDFlMjg1ZjZmODgwNzdjM2M2ZTFiYjM0ZjA5YjgyYTVkOWZmOWMwMjYwZGU1YzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.WRrQxD2wK7bUrfpItkEqzMlanqdgr8Gj1wl8eylXIhc)
I saw that the rule created by this rule is only valid in the rule list and not in the junk list.
Describe alternatives you've considered
![image](https://private-user-images.githubusercontent.com/34082198/320254298-ced501c0-1019-477c-b528-b8175be3ebe5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTQ5NzksIm5iZiI6MTczOTE1NDY3OSwicGF0aCI6Ii8zNDA4MjE5OC8zMjAyNTQyOTgtY2VkNTAxYzAtMTAxOS00NzdjLWI1MjgtYjgxNzViZTNlYmU1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDAyMzExOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMxYjBmNWJkNGFmZWE2ZmZiYjBiMzkwZTk0OTcyNjgyODNmOWRmM2E3YTBhODQzMGNlZTliMWUzMDk1YjFmOTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eW8a1t4IrWGnB1zgW4RnS-qQ5Xs6shxdyIsYDzhmNNY)
By reading the code, I found a method "bulk_mark_as_junk", but the official document states that blocked emails need to already exist, and my scenario is that certain the person or domain is not sending me emails, but I need to configure it so that I receive emails properly and not get marked as junk.
Additional context
![image](https://private-user-images.githubusercontent.com/34082198/320254626-2940108f-fce9-4e46-94ea-f930ba9ef409.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTQ5NzksIm5iZiI6MTczOTE1NDY3OSwicGF0aCI6Ii8zNDA4MjE5OC8zMjAyNTQ2MjYtMjk0MDEwOGYtZmNlOS00ZTQ2LTk0ZWEtZjkzMGJhOWVmNDA5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDAyMzExOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU0MzYzMWI2ZDY5ZTVkMDMwMGE3N2Y5YmE0NDEyMjdlN2E5ZjVmNjU1NTk0MzlhZTMxNWE5YWE0ZDkxZGJmMGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.YiY2z_-6tpsOl2fBIpBhG6iTn-y30P34pHnBlgpNkyk)
That is like this:
Is it possible to implement?
Beta Was this translation helpful? Give feedback.
All reactions