Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Check yopmail mails from command line.

License

NotificationsYou must be signed in to change notification settings

antham/yogo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Check yopmail mails from command line.

Install

Download binaries here :yogo.

Or run:go install github.com/antham/yogo/v4@latest

A package is available in aur for archlinux.

Usage

Check yopmail mails from command line.Usage:  yogo [command]Available Commands:  completion  Generate the autocompletion script for the specified shell  help        Help about any command  inbox       Handle inbox messages  version     App versionFlags:      --debug   Log all requests/responses  -h, --help    help for yogo      --json    Dump the output as jsonUse "yogo [command] --help" for more information about a command.

⚠️ Performing too much calls will trigger a CAPTCHA that you will need to solve through a browser. Add a delay to prevent this.

Environment variable

You can customize the behaviour of Yogo through several environment variables:

NameDefault valueUsage
HTTP_PROXYEmptyDefine an HTTP proxy for the requests
HTTPS_PROXYEmptyDefine an HTTPs proxy for the requests
YOGO_USER_AGENTSee thedefaultUserAgent const in theclientThe user agent used to perfom the requests
YOGO_REQUEST_TIMEOUT10Duration of a request before reaching the timeout in seconds

Flag

Use the--json output flag to get the output as JSON.

In case of an issue withyogo, use the--debug flag to log the requests/responses.

Inbox

List

Retrieve 10 messages from mailboxtest1@yopmail.com :

yogo inbox list test1 10

Flush

Flush inboxtest1@yopmail.com :

yogo inbox flush test1

Read a mail

Retrieve first message from inboxhelloworld@yopmail.com

yogo inbox show helloworld 1

Retrieve second message from inboxhelloworld@yopmail.com

yogo inbox show helloworld 2

Read the source of the mail with all headers

yogo inboxsource helloworld 1

Delete a mail

Delete first message from inboxhelloworld@yopmail.com

yogo inbox delete helloworld 1

[8]ページ先頭

©2009-2025 Movatter.jp