gws-gmail-forward

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

gmail +forward

gmail +forward

PREREQUISITE: Read
../gws-shared/SKILL.md
for auth, global flags, and security rules. If missing, run
gws generate-skills
to create it.
Forward a message to new recipients
前提条件: 请阅读
../gws-shared/SKILL.md
了解认证、全局标志和安全规则。如果该文件缺失,请运行
gws generate-skills
命令生成它。
将邮件转发给新收件人

Usage

使用方法

bash
gws gmail +forward --message-id <ID> --to <EMAILS>
bash
gws gmail +forward --message-id <ID> --to <EMAILS>

Flags

标志

FlagRequiredDefaultDescription
--message-id
Gmail message ID to forward
--to
Recipient email address(es), comma-separated
--from
Sender address (for send-as/alias; omit to use account default)
--cc
CC recipients (comma-separated)
--body
Optional note to include above the forwarded message
--dry-run
Show the request that would be sent without executing it
标志是否必填默认值描述
--message-id
要转发的Gmail邮件ID
--to
收件人邮箱地址(多个用逗号分隔)
--from
发件人地址(用于代发/别名;留空则使用账户默认地址)
--cc
抄送收件人(多个用逗号分隔)
--body
可添加在转发邮件上方的备注内容
--dry-run
显示将要发送的请求,但不实际执行

Examples

示例

bash
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --body 'FYI see below'
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --cc eve@example.com
bash
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --body 'FYI see below'
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --cc eve@example.com

Tips

提示

  • Includes the original message with sender, date, subject, and recipients.
  • Sends the forward as a new message rather than forcing it into the original thread.
  • 包含原始邮件的发件人、日期、主题和收件人信息。
  • 转发邮件将作为新邮件发送,而非强制归入原始邮件线程。

See Also

另请参阅

  • gws-shared — Global flags and auth
  • gws-gmail — All send, read, and manage email commands
  • gws-shared — 全局标志与认证
  • gws-gmail — 所有邮件发送、读取和管理命令