pymail
Project · tool · 2024
pymail is a Python script that sends email through Gmail's SMTP server, either plain text or HTML. The sender's address and password, or a Gmail app password when two-step verification is on, come from a .env file. The recipient also comes from the environment, and the message body is read from a file, so the same script can send any template, such as the included payload.html.
See also
In the knowledge graph
pymail and the 3 things it is linked to. Open any dot for its page, or explore it in the full graph.
As data
Everything on this page is read from triples in the knowledge graph. These are the 16 it states about pymail, and 1 more its ontology implies; the console runs SPARQL over the whole graph, here in your browser.
@prefix id: <https://ask.chaipat.cc/id/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix cj: <https://ask.chaipat.cc/ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . id:PyMail a cj:Project ; rdfs:label "pymail" ; cj:description "Script that sends plain-text or HTML email through Gmail SMTP." ; cj:context id:OpenSource ; cj:repository "https://github.com/AppleBoiy/pymail"^^xsd:anyURI ; cj:firstCommit "2024-05-05"^^xsd:date ; cj:lastCommit "2024-05-05"^^xsd:date ; cj:commitCount 1 ; cj:kind "tool" ; cj:license "MIT" ; cj:theme id:ThemeWeb ; cj:uses id:Python ; cj:tier 3 ; cj:article "https://ask.chaipat.cc/wiki/PyMail"^^xsd:anyURI ; cj:activeIn id:Y2024 ; cj:activity _:b137 .