sendmail

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSendMailPostRequestBodyFromDiscriminatorValue added in v0.24.0

CreateSendMailPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type SendMailPostRequestBody added in v0.24.0

type SendMailPostRequestBody struct {
	// contains filtered or unexported fields
}

SendMailPostRequestBody provides operations to call the sendMail method.

func NewSendMailPostRequestBody added in v0.24.0

func NewSendMailPostRequestBody() *SendMailPostRequestBody

NewSendMailPostRequestBody instantiates a new sendMailPostRequestBody and sets the default values.

func (*SendMailPostRequestBody) GetAdditionalData added in v0.24.0

func (m *SendMailPostRequestBody) GetAdditionalData() map[string]interface{}

GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*SendMailPostRequestBody) GetFieldDeserializers added in v0.24.0

GetFieldDeserializers the deserialization information for the current model

func (*SendMailPostRequestBody) GetMessage added in v0.24.0

GetMessage gets the message property value. The Message property

func (*SendMailPostRequestBody) GetSaveToSentItems added in v0.24.0

func (m *SendMailPostRequestBody) GetSaveToSentItems() *bool

GetSaveToSentItems gets the saveToSentItems property value. The SaveToSentItems property

func (*SendMailPostRequestBody) Serialize added in v0.24.0

Serialize serializes information the current object

func (*SendMailPostRequestBody) SetAdditionalData added in v0.24.0

func (m *SendMailPostRequestBody) SetAdditionalData(value map[string]interface{})

SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*SendMailPostRequestBody) SetMessage added in v0.24.0

SetMessage sets the message property value. The Message property

func (*SendMailPostRequestBody) SetSaveToSentItems added in v0.24.0

func (m *SendMailPostRequestBody) SetSaveToSentItems(value *bool)

SetSaveToSentItems sets the saveToSentItems property value. The SaveToSentItems property

type SendMailRequestBuilder

type SendMailRequestBuilder struct {
	// contains filtered or unexported fields
}

SendMailRequestBuilder provides operations to call the sendMail method.

func NewSendMailRequestBuilder

NewSendMailRequestBuilder instantiates a new SendMailRequestBuilder and sets the default values.

func NewSendMailRequestBuilderInternal

func NewSendMailRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SendMailRequestBuilder

NewSendMailRequestBuilderInternal instantiates a new SendMailRequestBuilder and sets the default values.

func (*SendMailRequestBuilder) CreatePostRequestInformation

CreatePostRequestInformation send the message specified in the request body using either JSON or MIME format. When using JSON format you can include a file attachment in the same **sendMail** action call. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in **base64** format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the **Sent Items** folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here.

func (*SendMailRequestBuilder) Post

Post send the message specified in the request body using either JSON or MIME format. When using JSON format you can include a file attachment in the same **sendMail** action call. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in **base64** format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the **Sent Items** folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here.

type SendMailRequestBuilderPostRequestConfiguration added in v0.22.0

type SendMailRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers map[string]string
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

SendMailRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

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