mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix missing frontend email attachment options
This commit is contained in:
		| @@ -11,7 +11,7 @@ | ||||
|         <app-input-select i18n-title title="Account" [items]="accounts" formControlName="account"></app-input-select> | ||||
|         <app-input-text i18n-title title="Folder" formControlName="folder" i18n-hint hint="Subfolders must be separated by a delimiter, often a dot ('.') or slash ('/'), but it varies by mail server." [error]="error?.folder"></app-input-text> | ||||
|         <app-input-number i18n-title title="Maximum age (days)" formControlName="maximum_age" [showAdd]="false" [error]="error?.maximum_age"></app-input-number> | ||||
|         <app-input-select i18n-title title="Attachment type" [items]="attachmentTypeOptions" formControlName="attachment_type"></app-input-select> | ||||
|         <app-input-select i18n-title title="Attachment type" [items]="attachmentTypeOptions" formControlName="attachment_type" i18n-hint hint="See docs for .eml processing requirements"></app-input-select> | ||||
|       </div> | ||||
|       <div class="col"> | ||||
|         <p class="small" i18n>Paperless will only process mails that match <em>all</em> of the filters specified below.</p> | ||||
|   | ||||
| @@ -23,9 +23,13 @@ const ATTACHMENT_TYPE_OPTIONS = [ | ||||
|     id: MailFilterAttachmentType.Attachments, | ||||
|     name: $localize`Only process attachments.`, | ||||
|   }, | ||||
|   { | ||||
|     id: MailFilterAttachmentType.Email_Only, | ||||
|     name: $localize`Process with embedded attachments as .eml`, | ||||
|   }, | ||||
|   { | ||||
|     id: MailFilterAttachmentType.Everything, | ||||
|     name: $localize`Process all files, including 'inline' attachments.`, | ||||
|     name: $localize`Process as .eml and attachments as separate documents`, | ||||
|   }, | ||||
| ] | ||||
|  | ||||
|   | ||||
| @@ -2,7 +2,8 @@ import { ObjectWithId } from './object-with-id' | ||||
|  | ||||
| export enum MailFilterAttachmentType { | ||||
|   Attachments = 1, | ||||
|   Everything = 2, | ||||
|   Email_Only = 2, | ||||
|   Everything = 3, | ||||
| } | ||||
|  | ||||
| export enum MailAction { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon