synaestic
3f47a32767
Add DRONE_COMMIT_AUTHOR_NAME to commit.author.name mapping targets
2022-05-30 13:40:40 +02:00
Michael de Wit
e265499665
Fix #61 by correctly referencing PLUGIN_FROM.ADDRESS and PLUGIN_FROM.NAME
2022-04-26 18:09:02 +02:00
Michael de Wit
7340d3d417
Flip starttls flag to fix #58
2021-11-01 18:56:45 +01:00
glaszig
16b20ece7a
allow disabling starttls
...
- use more up-to-date gomail fork
- add starttls option
2021-10-29 18:10:24 -03:00
lishuangtai
027b1d4ab6
Extended from configuration to support utf8 name
2021-10-21 09:57:04 +08:00
Lukas Bachschwell
c139365a67
Add options to load recipients from file
...
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2020-12-01 13:51:43 +01:00
immerrr
e60e502514
Use /run/drone/env as default PLUGIN_ENV_FILE, overwrite env vars with it
...
It is required for the plugin to work correctly with Kubernetes runner, where
environment variables are created before the pipeline is finished and thus
initial DRONE_BUILD_STATUS is always "success".
Related discourse topic:
https://discourse.drone.io/t/drone-build-status-always-success-in-kubernetes/6627/2
Similar workaround in drone-slack:
59d3676b1c/main.go (L187-L189)
2020-07-31 19:57:28 +02:00
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