Commit graph

14 commits

Author SHA1 Message Date
harald 5203727773 Extended configuration to allow to set the hostname of the smtp client.
The value  configured by 'clienthostname' is used by the gomail client
as hostname in the HELO command.
2019-11-06 17:57:05 +01:00
Michael Schlies 17393400a4 Support multiple attachments (#29)
* Support multiple attachments
* Support single attachment syntax in addition to multiple
* Re-add import Goland removed while optimizing imports for me.
2019-08-23 18:06:45 +02:00
Michael de Wit 982dc51fc6 Add ability to attach a file to the sent mail(s) 2017-08-31 11:14:08 +02:00
Michael de Wit ca0f94098b Fix an issue where a mail would be sent to the same recipient twice 2017-01-24 14:39:13 +01:00
Michael de Wit c9430e82e6 Add a temporary workaround for missing DRONE_BUILD_STARTED by using DRONE_BUILD_CREATED. Fixes #14 2017-01-24 14:20:41 +01:00
Michael de Wit 0888ac7f7e Add all Drone env variables to template context 2017-01-17 10:58:35 +01:00
Michael de Wit 6917c02a54 Finish repository migration 2017-01-16 15:06:10 +01:00
Michael de Wit f128c947ab Refactor plugin to be compatible with Drone 0.5 (#13)
* Refactor plugin to be compatible with Drone 0.5

* Add vendor files

* Re-add logo.svg, make loading environment from .env file optional, and use drone-go/template

* Fix README

* Fix issue with date formatting, update the DOCS, and improve types

* Add working directory and volume mount to README example
2017-01-16 13:20:59 +01:00
Thomas Boerger 6ae77a6b5c Make the builds reproducable based on commit sha 2016-02-21 11:06:40 +01:00
Thomas Boerger 8484730b82 Integrated skip verify, gomail and templates
I have switched the mail sending mechanism to gomail to get more power
out of the sending method. Beside that I have added a flag to skip
certificate verification.

On top of that I have integrated the drone templating to make it
possible to overwrite the email templates optionally.

To be more compatible I have created a plaintext message format with the
help of html2text as well.
2016-02-01 12:55:41 +01:00
Thomas Boerger e558964bc8 Unification: Drone config, Makefile, structure and badges 2016-01-26 13:00:13 +01:00
Thomas Boerger 9d5c1e3333 Some restructuring of code, no functional change 2015-12-11 10:40:37 +01:00
Brad Rydzewski fa69400d6c initial commit 2015-11-10 17:44:23 -08:00
Brad Rydzewski 790df28ae1 initial commit. compiles but hasn't been tested. needs docs too 2015-10-26 15:31:42 -07:00