lib/logstash/outputs/email.rb in logstash-output-email-4.0.4 vs lib/logstash/outputs/email.rb in logstash-output-email-4.0.6

- old
+ new

@@ -4,15 +4,15 @@ # [source,ruby] # ---------------------------------- # output { # if "shouldmail" in [tags] { # email { -# to => 'technical@logstash.net' -# from => 'monitor@logstash.net' +# to => 'technical@example.com' +# from => 'monitor@example.com' # subject => 'Alert - %{title}' # body => "Tags: %{tags}\\n\\Content:\\n%{message}" -# domain => 'mail.logstash.net' +# domain => 'mail.example.com' # port => 25 # } # } # } # ---------------------------------- @@ -28,25 +28,25 @@ config_name "email" # The fully-qualified email address to send the email to. # # This field also accepts a comma-separated string of addresses, for example: - # `"me@host.com, you@host.com"` + # `"me@example.com, you@example.com"` # # You can also use dynamic fields from the event with the `%{fieldname}` syntax. config :to, :validate => :string, :required => true # The fully-qualified email address for the From: field in the email. - config :from, :validate => :string, :default => "logstash.alert@nowhere.com" + config :from, :validate => :string, :default => "logstash.alert@example.com" # The fully qualified email address for the Reply-To: field. config :replyto, :validate => :string # The fully-qualified email address(es) to include as cc: address(es). # # This field also accepts a comma-separated string of addresses, for example: - # `"me@host.com, you@host.com"` + # `"me@example.com, you@example.com"` config :cc, :validate => :string # How Logstash should send the email, either via SMTP or by invoking sendmail. config :via, :validate => :string, :default => "smtp" @@ -54,10 +54,10 @@ config :address, :validate => :string, :default => "localhost" # Port used to communicate with the mail server config :port, :validate => :number, :default => 25 - # Domain used to send the email messages + # HELO/EHLO domain name config :domain, :validate => :string, :default => "localhost" # Username to authenticate with the server config :username, :validate => :string