如何获取命令curl的返回状态smtp://mail.example.com --mail-from [email protected] --mail-rcpt

问题描述

我正在从我的gmail帐户向gmail帐户发送邮件,并且邮件已成功发送,但是我想知道命令的返回状态,以便以后使用。在这种情况下,连接保持不变结束,我想知道如何查找是否成功发送了邮件,以及如何完好无损地关闭此连接。

curl smtp://mail.example.com --mail-from [email protected] --mail-rcpt

[email protected]上传文件email.txt

Output after using the above command

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)