Bugzilla SMTP身份验证 [英] Bugzilla SMTP authentication
问题描述
我已经在本地计算机(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.com
向ra@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
tora@gmail.com
:
Could't set FROM:
530 5.5.1 Authentication Required.
Learn more at atC:/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屋!