smtp

command module
Version: v0.0.0-...-394e15c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

README

Cloud Build SMTP Notifier

This notifier uses SMTP to send email notifications.

This is an Alpha release of Cloud Build Notifiers. This codebase might be changed in ways that are not backwards-compatible. We do not recommend using this codebase for production applications. Furthermore, this release is not subject to any SLA or deprecation policy.

This notifier runs as a container via Google Cloud Run and responds to events that Cloud Build publishes via its Pub/Sub topic.

For detailed instructions on setting up this notifier, see Configuring email notifications.

Configuration Variables

This notifier expects the following fields in delivery map to be set:

  • server: The address of the SMTP server. If you want to use Gmail, use smtp.gmail.com.

  • port: The port (as a string) that will handle SMTP requests. If you want to use Gmail, use 587.

  • sender: This is the From field - the email that will appear as the sender of the email.

  • recipients: A list of To addresses.

  • password: The reference to a configuration in the secrets list.

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL