linux mail发qq邮件,使用linux 发送qq邮件

编程入门 行业动态 更新时间:2024-10-17 02:53:04

linux mail发qq<a href=https://www.elefans.com/category/jswz/34/1770920.html style=邮件,使用linux 发送qq邮件"/>

linux mail发qq邮件,使用linux 发送qq邮件

linux 发送邮件,其实是linux 系统 使用你配置的邮箱 的用户名和密码 来登录你的邮箱

使用此邮箱来发送邮件

1、关闭服务

service sendmail stop

chkconfig sendmail off

2、修改参数配置

vi /etc/postfix/main.cf

inet_interfaces = all

3、.启动postfix服务:

service postfix start

chkconfig postfix on

postfix check

systemctl status postfix

4、

$ vi /etc/mail.rc

set from=123456@qq

set smtp=smtp.qq

set smtp-auth-user=123456

set smtp-auth-password=runoob

set smtp-auth=login

参数解释:

set from= 你的qq邮箱

set smtp-auth-user= 你的qq邮箱的登录名

set smtp-auth-password= 你的qq邮箱的获取的授权码

获取的授权码 获取方式

第一步进入qq邮箱

第二步

第三步生成授权码

测试

为126 邮箱发送消息

更多推荐

linux mail发qq邮件,使用linux 发送qq邮件

本文发布于:2024-03-23 01:37:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1738931.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:邮件   linux   mail   qq

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!