Class: Ansible::Ruby::Modules::Mail
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Mail
- Defined in:
- lib/ansible/ruby/modules/generated/extras/notification/mail.rb
Instance Method Summary collapse
-
#attach ⇒ String?
A space-separated list of pathnames of files to attach to the message.
-
#bcc ⇒ Object?
The email-address(es) the mail is being ‘blind’ copied to.
-
#body ⇒ String?
The body of the email being sent.
-
#cc ⇒ String?
The email-address(es) the mail is being copied to.
-
#charset ⇒ String?
The character set of email being sent.
-
#from ⇒ String?
The email-address the mail is sent from.
-
#headers ⇒ String?
A vertical-bar-separated list of headers which should be added to the message.
-
#host ⇒ String?
The mail server.
-
#password ⇒ String?
If SMTP requires password.
-
#port ⇒ String?
The mail server port.
-
#subject ⇒ String
The subject of the email being sent.
-
#subtype ⇒ String?
The minor mime type, can be either text or html.
-
#to ⇒ String?
The email-address(es) the mail is being sent to.
-
#username ⇒ String?
If SMTP requires username.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#attach ⇒ String?
Returns A space-separated list of pathnames of files to attach to the message. Attached files will have their content-type set to C(application/octet-stream).
49 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 49 attribute :attach |
#bcc ⇒ Object?
Returns The email-address(es) the mail is being ‘blind’ copied to. This is a comma-separated list, which may contain address and phrase portions.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 22 attribute :bcc |
#body ⇒ String?
Returns The body of the email being sent.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 29 attribute :body |
#cc ⇒ String?
Returns The email-address(es) the mail is being copied to. This is a comma-separated list, which may contain address and phrase portions.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 18 attribute :cc |
#charset ⇒ String?
Returns The character set of email being sent.
57 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 57 attribute :charset |
#from ⇒ String?
Returns The email-address the mail is sent from. May contain address and phrase.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 10 attribute :from |
#headers ⇒ String?
Returns A vertical-bar-separated list of headers which should be added to the message. Each individual header is specified as C(header=value) (see example below).
53 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 53 attribute :headers |
#host ⇒ String?
Returns The mail server.
41 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 41 attribute :host |
#password ⇒ String?
Returns If SMTP requires password.
37 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 37 attribute :password |
#port ⇒ String?
Returns The mail server port.
45 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 45 attribute :port |
#subject ⇒ String
Returns The subject of the email being sent.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 25 attribute :subject |
#subtype ⇒ String?
Returns The minor mime type, can be either text or html. The major type is always text.
61 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 61 attribute :subtype |
#to ⇒ String?
Returns The email-address(es) the mail is being sent to. This is a comma-separated list, which may contain address and phrase portions.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 14 attribute :to |
#username ⇒ String?
Returns If SMTP requires username.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mail.rb', line 33 attribute :username |