outlook

package
v0.0.0-...-87e4ced Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 8 Imported by: 0

README

Outlook

  • Use same process to discover client_id and refresh_token
  • Uses StartTLS instead of SSL (encryption is enabled after initial HELO)
  • Does not have a client_secret

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send()

Types

type OutlookAuth

type OutlookAuth struct{}

func (*OutlookAuth) Next

func (ga *OutlookAuth) Next(fromServer []byte, more bool) (toServer []byte, err error)

func (*OutlookAuth) Start

func (ga *OutlookAuth) Start(server *smtp.ServerInfo) (string, []byte, error)

type OutlookConfig

type OutlookConfig struct {
	Mail         string `json:"mail"`
	ClientID     string `json:"client_id"`
	RefreshToken string `json:"refresh_token"`
}

Jump to

Keyboard shortcuts

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