pymilter  0.9.8
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
mime._defang Class Reference

Public Member Functions

def __init__
 
def __call__
 

Public Attributes

 scan_html
 
 scan_rfc822
 
 scan_zip
 

Private Member Functions

def _chk_name
 

Private Attributes

 _savname
 
 _check
 

Member Function Documentation

def mime._defang.__call__ (   self,
  msg,
  savname = None,
  check = check_ext,
  scan_rfc822 = True,
  scan_zip = False 
)
Compatible entry point.
Replace all attachments with dangerous names.

References mime._defang._check, mime._defang._chk_name(), mime._defang._savname, mime.check_attachments(), mime.MimeMessage.modified, mime._defang.scan_rfc822, and mime._defang.scan_zip.


The documentation for this class was generated from the following file: