求助:如何用深度终端命令行给外部邮箱发邮件
Tofloor
poster avatar
He8617439
deepin
2016-08-30 02:04
Author
刚看了下linux打印文件及发送邮箱的相关知道,觉得用深度终端给外面发邮箱比较高大上,可惜自己试了下就是不成功,请高手发个详细图文介绍下如何进入配置。最好能有范例,非常感谢。

Reply Favorite View the author
All Replies
1 / 2
To page
avatar
justforlxz
deepin
2016-08-30 02:32
#1
这么逼格的事我也不会,前排围观高手。
Reply View the author
avatar
He8617439
deepin
2016-08-30 02:35
#2
我也是刚看到还有这种高大上的操作,可惜没完全学会,坐等高手来指导下。
Reply View the author
avatar
hwang
deepin
2016-08-30 03:03
#3
不知道怎么发图片。。。
两种方法:
1、安装postfix和mailx,启动postfix服务,用echo "This is a test mail." | mail -s "Hello" 123@qq.com 发送你的第一封邮件,注意去qq邮箱垃圾邮件里检查一下
2、只安装mailx,配置外部的smtp服务器比如qq或网易的,发邮件格式还是如上,但是qq邮箱我设置没成功,要什么验证之类的
Reply View the author
avatar
132******13
deepin
2016-08-30 03:12
#4
可以考虑在终端进入python交互界面发邮件

最后输入就可以退出邮件服务了。

邮件发送正常

Reply View the author
avatar
132******13
deepin
2016-08-30 03:13
#5
本帖最后由 yutouyes 于 2016-8-29 19:19 编辑

进入交互环境直接输入python3就可以了

不同邮箱对第三方登录的要求不一样,比如gmail还要加ehlo()、163自己有垃圾邮件的定义会直接把不符要求的邮件打回去,目前来看新浪邮箱比较好发邮件
Reply View the author
avatar
justforlxz
deepin
2016-08-30 03:25
#6
https://bbs.deepin.org/post/42864
进入交互环境直接输入python3就可以了

不同邮箱对第三方登录的要求不一样,比如gmail还要加ehlo()、163自 ...

666666666666666666666666666666
Reply View the author
avatar
132******13
deepin
2016-08-30 03:35
#7
https://bbs.deepin.org/post/42864
666666666666666666666666666666

竹大面试得怎么样,以后修bug优先考虑修我提交的啊
Reply View the author
avatar
justforlxz
deepin
2016-08-30 04:08
#8
https://bbs.deepin.org/post/42864
竹大面试得怎么样,以后修bug优先考虑修我提交的啊

老王应该今晚看我的简历,,应该
Reply View the author
avatar
132******13
deepin
2016-08-30 04:13
#9
https://bbs.deepin.org/post/42864
老王应该今晚看我的简历,,应该

也许是惊了看呢,老王应该不干HR的活吧
Reply View the author
avatar
justforlxz
deepin
2016-08-30 04:13
#10
https://bbs.deepin.org/post/42864
也许是惊了看呢,老王应该不干HR的活吧

我给老王发过去了
Reply View the author
avatar
132******13
deepin
2016-08-30 04:14
#11
https://bbs.deepin.org/post/42864
我给老王发过去了

这么直接,可以的
Reply View the author
avatar
He8617439
deepin
2016-08-30 04:37
#12
https://bbs.deepin.org/post/42864
可以考虑在终端进入python交互界面发邮件

最后输入就可以退出邮件服务了。

刚试了下,还有点不成功,我再研究下,非常感谢!!!
Reply View the author
avatar
132******13
deepin
2016-08-30 04:45
#13
https://bbs.deepin.org/post/42864
刚试了下,还有点不成功,我再研究下,非常感谢!!!

这段代码有调试功能,你可以看看他的报错然后谷歌一下,能解决的话就能实力装X了
Reply View the author
avatar
He8617439
deepin
2016-08-30 04:54
#14
https://bbs.deepin.org/post/42864
这段代码有调试功能,你可以看看他的报错然后谷歌一下,能解决的话就能实力装X了 ...

向装X大步迈进中。
Reply View the author
avatar
wangyong
deepin
2016-08-30 06:35
#15
https://bbs.deepin.org/post/42864
也许是惊了看呢,老王应该不干HR的活吧

我就是公司最大的HR。 ;)
Reply View the author
avatar
132******13
deepin
2016-08-30 06:41
#16
https://bbs.deepin.org/post/42864
我就是公司最大的HR。 ;)

膜拜。。老王要注意身体啊,又要撸码又要看简历,要多喝肾宝避免身体被掏空
Reply View the author
avatar
wangyong
deepin
2016-08-30 06:45
#17
https://bbs.deepin.org/post/42864
膜拜。。老王要注意身体啊,又要撸码又要看简历,要多喝肾宝避免身体被掏空 ...

来公司膜拜我吧。 ;)
Reply View the author
avatar
rekols
deepin
2016-08-30 06:56
#18
https://bbs.deepin.org/post/42864
我就是公司最大的HR。 ;)

同时也是公司的ACE
Reply View the author
avatar
132******13
deepin
2016-08-30 06:59
#19
https://bbs.deepin.org/post/42864
同时也是公司的ACE

。。你是想表达ADC的意思嘛?
Reply View the author
avatar
132******13
deepin
2016-08-30 06:59
#20
https://bbs.deepin.org/post/42864
来公司膜拜我吧。 ;)

暂时去不了QAQ还在读书
Reply View the author
1 / 2
To page