Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::Smtp.
SMTP info. See RFC 2821.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#helo
def helo() -> ::String
Returns
- (::String) — The client's 'HELO'/'EHLO' string.
#helo=
def helo=(value) -> ::String
Parameter
- value (::String) — The client's 'HELO'/'EHLO' string.
Returns
- (::String) — The client's 'HELO'/'EHLO' string.
#is_tls
def is_tls() -> ::Boolean
Returns
- (::Boolean) — If the connection switched to TLS.
#is_tls=
def is_tls=(value) -> ::Boolean
Parameter
- value (::Boolean) — If the connection switched to TLS.
Returns
- (::Boolean) — If the connection switched to TLS.
#is_webmail
def is_webmail() -> ::Boolean
Returns
- (::Boolean) — If the message was sent via a webmail client.
#is_webmail=
def is_webmail=(value) -> ::Boolean
Parameter
- value (::Boolean) — If the message was sent via a webmail client.
Returns
- (::Boolean) — If the message was sent via a webmail client.
#mail_from
def mail_from() -> ::String
Returns
- (::String) — The client's 'MAIL FROM' string.
#mail_from=
def mail_from=(value) -> ::String
Parameter
- value (::String) — The client's 'MAIL FROM' string.
Returns
- (::String) — The client's 'MAIL FROM' string.
#message_path
def message_path() -> ::String
Returns
- (::String) — The message's path (extracted from the headers).
#message_path=
def message_path=(value) -> ::String
Parameter
- value (::String) — The message's path (extracted from the headers).
Returns
- (::String) — The message's path (extracted from the headers).
#rcpt_to
def rcpt_to() -> ::Array<::String>
Returns
- (::Array<::String>) — The client's 'RCPT TO' string(s).
#rcpt_to=
def rcpt_to=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The client's 'RCPT TO' string(s).
Returns
- (::Array<::String>) — The client's 'RCPT TO' string(s).
#server_response
def server_response() -> ::Array<::String>
Returns
- (::Array<::String>) — The server's response(s) to the client.
#server_response=
def server_response=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The server's response(s) to the client.
Returns
- (::Array<::String>) — The server's response(s) to the client.