Skip to content

evex-dev/kukumailgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kukumail.go

Golang Library for "m.kuku.lu" | Temp Mail

example

Create Email

package main

import (
	"fmt"
	"github.com/evex-dev/kukumailgo"
)

func main() {
	s := kukumailgo.New("yourSessionHash", "yourCesrToken")
	err := s.CreateDesignateEmail("fjsaofjoa2342", "tatsu.uk")
	if err != nil {
		fmt.Println(err)
		return
	}

	/*
  mail, err := s.CreateRandomEmail()
	if err != nil {
		fmt.Println(err)
		return
	}
	*/
}

GetReceivedEmail

package main

import (
	"fmt"
	"github.com/evex-dev/kukumailgo"
)

func main() {
	s := kukumailgo.New("yourSessionHash", "yourCesrToken")
	mails, err := s.GetAllReceivedEmail()
	if err != nil {
		fmt.Println(err)
		return
	}
	/*
  mails, err := s.SearchReceivedEmail("discord")
	if err != nil {
		fmt.Println(err)
		return
	}
	*/
}

GetEmailContent

package main

import (
	"fmt"
	"github.com/evex-dev/kukumailgo"
)

func main() {
	s := kukumailgo.New("yourSessionHash", "yourCesrToken")
	
	content, err := s.GetEmailContent(mail)
	if err != nil {
		fmt.Println(err)
		return
	}
}

About

Golang Library for "m.kuku.lu" | Temp Mail

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages