Giter VIP home page Giter VIP logo

libemail's Introduction

libemail

Go Report Card Build Status GoDoc NetflixOSS Lifecycle GitHub

Project Overview

Package libemail provides utilities for composing plaintext or HTML email messages with attachments that can be sent through a typical SMTP server.

Getting Started

The libemail module can be installed like any other Go module, e.g.

$ go get oss.indeed.com/go/libemail

This is a typical example for sending a basic plaintext email to a locally running SMTP server, e.g.

m := &libemail.TextEmail{
    From:    "[email protected]",
    To:      []string{"[email protected]"},
    ReplyTo: "[email protected]",
    Subject: "this is a test",
    Body:    "hello world!",
}

smtpSender := libemail.NewSMTPSender(libemail.SMTPSenderOptions{
    Address:      "localhost:10025",
    SendMailFunc: smtp.SendMail,
    Auth:         nil,
})

_ = smtpSender.Send(m)

Asking Questions

For technical questions about libemail, just file an issue in the GitHub tracker.

For questions about Open Source in Indeed Engineering, send us an email at [email protected]

Contributing

We welcome contributions! Feel free to help make libemail better.

Process

  • Open an issue and describe the desired feature / bug fix before making changes. It's useful to get a second pair of eyes before investing development effort.
  • Make the change. If adding a new feature, remember to provide tests that demonstrate the new feature works, including any error paths. If contributing a bug fix, add tests that demonstrate the erroneous behavior is fixed.
  • Open a pull request. Automated CI tests will run. If the tests fail, please make changes to fix the behavior, and repeat until the tests pass.
  • Once everything looks good, one of the indeedeng members will review the PR and provide feedback.

Maintainers

The oss.indeed.com/go/libemail module is maintained by Indeed Engineering.

While we are always busy helping people get jobs, we will try to respond to GitHub issues, pull requests, and questions within a couple of business days.

Code of Conduct

oss.indeed.com/go/libemail is governed by the Contributer Covenant v1.4.1

For more information please contact [email protected].

License

The oss.indeed.com/go/libemail module is open source under the BSD-3-Clause license.

libemail's People

Contributors

shoenig avatar ovesh 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.