Loading...
Loading...
Compare original and translation side by side
~/.bashrc~/.zshrcexport CODEX_MACHINE_NAME="Machine-name" # e.g., Macbook
export CODEX_EMAIL_SMTP_HOST="smtp.example.com"
export CODEX_EMAIL_SMTP_PORT="587"
export CODEX_EMAIL_USERNAME="user@example.com"
export CODEX_EMAIL_PASSWORD="..."
export CODEX_EMAIL_FROM="user@example.com"
export CODEX_EMAIL_TO="recipient1@example.com,recipient2@example.com"
export CODEX_EMAIL_USE_TLS="false" # true/false, default false
export CODEX_EMAIL_USE_SSL="true" # true/false, default trueCODEX_EMAIL_USERNAMECODEX_EMAIL_PASSWORDCODEX_EMAIL_USE_SSLtrueCODEX_EMAIL_USE_TLStrueCODEX_EMAIL_USE_TLSCODEX_EMAIL_USE_SSLtrue~/.bashrc~/.zshrcexport CODEX_MACHINE_NAME="Machine-name" # 例如:Macbook
export CODEX_EMAIL_SMTP_HOST="smtp.example.com"
export CODEX_EMAIL_SMTP_PORT="587"
export CODEX_EMAIL_USERNAME="user@example.com"
export CODEX_EMAIL_PASSWORD="..."
export CODEX_EMAIL_FROM="user@example.com"
export CODEX_EMAIL_TO="recipient1@example.com,recipient2@example.com"
export CODEX_EMAIL_USE_TLS="false" # true/false,默认值为false
export CODEX_EMAIL_USE_SSL="true" # true/false,默认值为trueCODEX_EMAIL_USERNAMECODEX_EMAIL_PASSWORDCODEX_EMAIL_USE_SSLtrueCODEX_EMAIL_USE_TLStrueCODEX_EMAIL_USE_TLSCODEX_EMAIL_USE_SSLtrueUse skill email-notify to notify users when each agent run is finished or when any notifications would be sent to users.
当每个agent运行结束或需要向用户发送任何通知时,使用skill email-notify来通知用户。
AGENTS.mdproject_name: My Projectname:Project Name: My ProjectAGENTS.mdproject_name: My Projectname:Project Name: My Projectsuccessfailedpartialblockedpython3 ~/.codex/skills/email-notify/scripts/send_email_notification.py \
--task-title "..." \
--status "success" \
--summary "..." \
--project-name "..."successfailedpartialblockedpython3 ~/.codex/skills/email-notify/scripts/send_email_notification.py \
--task-title "..." \
--status "success" \
--summary "..." \
--project-name "..."scripts/send_email_notification.pyscripts/send_email_notification.py