【问题标题】:Send an email using gitbash - Command not found使用 gitbash 发送电子邮件 - 找不到命令
【发布时间】:2020-01-15 15:57:18
【问题描述】:

我有一个 file.sh,我正在尝试合并一封电子邮件。我不断收到以下消息:找不到邮件命令或找不到邮件命令

echo "hello" | sendmail -f send@email.com -t destination@email.com

还尝试了以下方法:

https://www.codexpedia.com/shell/send-email-from-shell-command-line/

但它不起作用 有什么原因吗?

【问题讨论】:

    标签: shell git-bash


    【解决方案1】:

    如果 git-bash 指的是 Git for Windows bash 会话,那就不足为奇了。

    尝试改用git send-email command,它可以将文件内容作为电子邮件发送。

    【讨论】:

      猜你喜欢
      • 2015-03-19
      • 1970-01-01
      • 2023-03-10
      • 2014-05-27
      • 2015-01-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多