Utility functions and abstract
FileHandler bases for communicating via
A log file created as a side effect of emailing some text (e.g. for submission of GCN notices or circulars). This is sufficiently formulaic that only an uploaded file, recipient list, and (optional) veto condition must be specified in each subclass.
A list of email addresses that should receive this email.
If this returns True, the UPLOAD will be submitted as an email attachment rather than as the body of the email, e.g. for PDF or image files. Returns False unless overridden by a subclass.
A subject line for this email.
- abstract property
Return a new datetime representing UTC day and time.