- Notifications
You must be signed in to change notification settings - Fork8
Check yopmail mails from command line.
License
antham/yogo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Check yopmail mails from command line.
Download binaries here :yogo.
Or run:go install github.com/antham/yogo/v4@latest
A package is available in aur for archlinux.
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.
You can customize the behaviour of Yogo through several environment variables:
Name | Default value | Usage |
---|---|---|
HTTP_PROXY | Empty | Define an HTTP proxy for the requests |
HTTPS_PROXY | Empty | Define an HTTPs proxy for the requests |
YOGO_USER_AGENT | See thedefaultUserAgent const in theclient | The user agent used to perfom the requests |
YOGO_REQUEST_TIMEOUT | 10 | Duration of a request before reaching the timeout in seconds |
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.
Retrieve 10 messages from mailboxtest1@yopmail.com :
yogo inbox list test1 10
Flush inboxtest1@yopmail.com :
yogo inbox flush test1
Retrieve first message from inboxhelloworld@yopmail.com
yogo inbox show helloworld 1
Retrieve second message from inboxhelloworld@yopmail.com
yogo inbox show helloworld 2
yogo inboxsource helloworld 1
Delete first message from inboxhelloworld@yopmail.com
yogo inbox delete helloworld 1
About
Check yopmail mails from command line.