Bugzilla SMTP身份验证 [英] Bugzilla SMTP authentication

查看:272
本文介绍了Bugzilla SMTP身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在本地计算机(Windows 7)中安装了bugzilla,并且运行良好.但是,当我尝试创建一个新帐户时,它会显示

I've installed bugzilla in my local machine (Windows 7) and its working good. But when I try to create a new account it says

it@gmail.comra@gmail.com发送邮件时出错:
无法设置来自: 530 5.5.1需要身份验证.
C:/Perl/site/lib/Email/Send/SMTP/TLS.pm第49行中了解更多信息.

There was an error sending mail from it@gmail.com to ra@gmail.com:
Could't set FROM:
530 5.5.1 Authentication Required.
Learn more at at C:/Perl/site/lib/Email/Send/SMTP/TLS.pm line 49.

我应该在TLS.pm中进行哪些更改?

What changes shall I do in TLS.pm?

我什至在bugzilla中配置了参数>电子邮件部分:

I've even configured the parameter>Email section in bugzilla:

mail_delivery_method = SMTP::TLS
mailfrom = it@gmail.com
smtpserver = smtp.gmail.com:587
smtp_username =我的Gmail用户名,
smtp_password =我的Gmail密码,

mail_delivery_method = SMTP::TLS,
mailfrom = it@gmail.com,
smtpserver = smtp.gmail.com:587,
smtp_username = my gmail username,
smtp_password = my gmail password,

TLS.pm文件第49行说:$SMTP->mail($from);

我还有别的东西可以使用SMTP吗?

Have I left anything else to work SMTP?

推荐答案

确保已在Mailer.pm中关注.只需打开文件并进行编辑.请注意,字段名称是用户" ,而不是用户名" .为了避免兼容性问题(如果有的话),请同时保留两者.

Make sure that you have following in Mailer.pm. Just open the file and edit it. Note that the field name is 'User' not 'username'. To avoid compatibility issues, if any, keep both.

User => Bugzilla->params->{"smtp_username"},  
Password => Bugzilla->params->{"smtp_password"},

这篇关于Bugzilla SMTP身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆