Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
fix(system): update type hint for html arg (#17)
Browse files Browse the repository at this point in the history
Fixes #16
  • Loading branch information
César Román authored Apr 14, 2022
1 parent 0abbfa7 commit 8c9666d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/system/net.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,10 @@ def openURL(url, useApplet=False):
def sendEmail(
smtp, # type: String
fromAddr, # type: String
subject, # type: String
body, # type: String
html, # type: String
to, # type: List[String]
subject=None, # type: Optional[String]
body=None, # type: Optional[String]
html=False, # type: Optional[bool]
to=None, # type: Optional[List[String]]
attachmentNames=None, # type: Optional[List[object]]
attachmentData=None, # type: Optional[List[object]]
timeout=300000, # type: Optional[int]
Expand All @@ -288,10 +288,10 @@ def sendEmail(
"mail.example.com:25". SSL can also be forced, like
"mail.example.com:25:tls".
fromAddr: An email address to have the email come from.
subject: The subject line for the email.
body: The body text of the email.
subject: The subject line for the email. Optional.
body: The body text of the email. Optional.
html: A flag indicating whether or not to send the email as an
HTML email. Will auto-detect if omitted.
HTML email. Will auto-detect if omitted. Optional.
to: A list of email addresses to send to.
attachmentNames: A list of attachment names. Attachment names
must have the correct extension for the file type or an
Expand Down

0 comments on commit 8c9666d

Please sign in to comment.