Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 545 Bytes

File metadata and controls

15 lines (11 loc) · 545 Bytes

Python mail sender sample

send_email.py is a standard-library-only Python client that sends a plain-text message through MailSenderService at https://mailservice.taskscape.com/api/mail/send. It is preconfigured to send from donotreply@taskbeat.com.

Run it from the repository root:

C:\Python314\python.exe .\samples\python\send_email.py recipient@example.com "Subject" "Message body"

Add --dry-run before the recipient to print the request shape without contacting the service. The printed API key is redacted.