Giter Club home page Giter Club logo

pysmtpmailer's Introduction

pysmtpmailer

SMTP client for sending e-mails from the command line. Uses Python's internal smtplib module. For Python 3.0+.

Usage:

usage: pysmtpmailer.py [-h] [--version] [-S SMTP_SERVER_ADDRESS]
                       [-p SMTP_SERVER_PORT] [-U SMTP_SERVER_USERNAME]
                       [-P SMTP_SERVER_PASSWORD] [-f FROM_ADDRESS] -t
                       [MAIL_ADDRESS [MAIL_ADDRESS ...]]
                       [-c [MAIL_ADDRESS [MAIL_ADDRESS ...]]]
                       [-b [MAIL_ADDRESS [MAIL_ADDRESS ...]]] [-s SUBJECT]
                       [-m MESSAGE] [-a [FILE [FILE ...]]]

SMTP client for sending e-mails from the command-line

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -S SMTP_SERVER_ADDRESS, --smtp-server-address SMTP_SERVER_ADDRESS
                        SMTP server to use for sending the message. Default:
                        localhost.
  -p SMTP_SERVER_PORT, --smtp-server-port SMTP_SERVER_PORT
                        SMTP server port. Default: 25.
  -U SMTP_SERVER_USERNAME, --smtp-server-username SMTP_SERVER_USERNAME
                        Username supplied to the SMTP server. Default: empty.
  -P SMTP_SERVER_PASSWORD, --smtp-server-password SMTP_SERVER_PASSWORD
                        Password supplied to the SMTP server. Default: empty
                        Note: if both username and password arguments are
                        empty, no credentials will be sent to the server.
  -f FROM_ADDRESS, --from-address FROM_ADDRESS
                        The address which will be set on the mail "From: "
                        header. Default: empty.
  -t [MAIL_ADDRESS [MAIL_ADDRESS ...]], --to-address [MAIL_ADDRESS [MAIL_ADDRESS ...]]
                        The address which the message will be sent to. More
                        than one address may be supplied.
  -c [MAIL_ADDRESS [MAIL_ADDRESS ...]], --cc-address [MAIL_ADDRESS [MAIL_ADDRESS ...]]
                        Carbon copy destinations. Multiple addresses may be
                        specified.
  -b [MAIL_ADDRESS [MAIL_ADDRESS ...]], --bcc-address [MAIL_ADDRESS [MAIL_ADDRESS ...]]
                        Blind carbon copy destinations. Multiple addresses may
                        be specified.
  -s SUBJECT, --subject SUBJECT
                        Subject of the message. By default, the first line of
                        the message is regarded as the subject. Setting this
                        argument ensures that everything specified on the body
                        is effectively sent in the body of the message.
  -m MESSAGE, --message MESSAGE
                        Body of the message. Note: at least the subject or the
                        message must be supplied.
  -a [FILE [FILE ...]], --attachment [FILE [FILE ...]]
                        Files which must be sent as attachments to the
                        message. Multiple files may be specified.

pysmtpmailer's People

Contributors

quitaiskiluisf avatar

Watchers

 avatar

pysmtpmailer's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.