MCPcopy Create free account
hub / github.com/geekcomputers/Python / main

Function main

sendemail.py:134–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132
133
134def main():
135 to = input("Enter Email Address: ")
136 sender = input("Your Mail ID: ")
137 subject = input("Enter your Subject: ")
138 msgHtml = input("Enter your Message: ")
139 msgPlain = "Hi\nPlain Email"
140 SendMessage(sender, to, subject, msgHtml, msgPlain)
141 # Send message with attachment:
142 # SendMessage(sender, to, subject, msgHtml, msgPlain, '/path/to/file.pdf')
143
144
145if __name__ == "__main__":

Callers 1

sendemail.pyFile · 0.70

Calls 1

SendMessageFunction · 0.85

Tested by

no test coverage detected