An email parser to get 6 digit verfication code.
npm install unity-verify-code



Gmail, see How Can i receive incoming mails(gmail) to my application server using imap (nodejs)
imap.gmail.com |
imap-mail.outlook.com |
imap-mail.outlook.com |
imap.mail.yahoo.com |
imap.qq.com |
imap.qq.com |
yml
jobs:
acquire_ulf:
name: Acquire .ulf file 🔑
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install node package, unity-license-activate
run: npm install --global unity-license-activate
# You would only have to install it!
- name: Install node package, unity-verify-code
run: npm install --global unity-verify-code
- name: Activate the license
run: unity-license-activate "${{ secrets.UNITY_EMAIL }}" "${{ secrets.UNITY_PASSWORD }}" "${{ needs.request_alf.outputs.alf }}"
`
See the full example here.
📇 Command Line Arguments
`console
usage : unity-verify-code [--port] [--tls]
EMAIL [EMAIL ...] PASSWORD [PASSWORD ...] HOST [HOST ...]
SAVE_PATH [SAVE_PATH ...]
Unity License Activate : An email parser to get 6 digit verification code.
positional arguments:
EMAIL Username or Email you use to register for Unity account
PASSWORD Password to login Unity account
SAVE_PATH File path to save the 6 digit code.
optional arguments:
--port Port number of the IMAP server. Default: 143
--tls boolean - Perform implicit TLS connection? Default: false
``