Git Product home page Git Product logo

gogo_sendmail's Introduction

Build Status codecov

GoGo Sendmail

This is a golang clone of mini_sendmail.

It's hopefully easier to read, safer and can be enhanced.

Differences

Since I'm using go's net/smtp.SendMail I don't really have anything to print in verbose mode.

I also haven't wired the timeouts up, for the same reasons.

There's probably some other differences too, I was only referring to the mini_sendmail code occasionally and intuiting the other behavior.

Usage

You should be able to use it as a drop in.

Usage of gogo_sendmail:
  -T int
    	Specifies timeout - defaults to one minute. (default 60)
  -f string
    	Sets the name of the "from" person (i.e. the sender of the mail).
  -p int
    	Specifies the port to use.  Without this it uses 25, the standard SMTP port. (default 25)
  -s string
    	Specifies the SMTP server to use.  Without this it uses localhost. (default "localhost")
  -t	Read message for recipients.  To:, Cc:, and Bcc: lines will be scanned for recipient addresses.  The Bcc: line will be deleted before transmission.
  -v	Verbose mode - shows the conversation with the SMTP server.

gogo_sendmail's People

Contributors

jmhobbs avatar

Stargazers

Vasily Naumkin avatar Marius Karnauskas avatar Antares avatar

Watchers

 avatar James Cloos avatar

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.