开发者社区> 问答> 正文

bugzilla配置SMTP后还是不能发邮件-服务报错

"

linux系统,bugzilla 4.21

按照官网配置SMTP;

在..\data\params设置如下参数:
maintainer :            swaiwai@qq.com
mail_delivery_method :      SMTP
mailfrom :              swaiwai@qq.com
sendmailnow:            on
smtpserver :            smtp.qq.com
smtp_username:            swaiwai@qq.com
smtp_password :          **********

提交bug时,出现下面错误提示,并且BUG提交不成功,求高手,求帮助。。。

Bugzilla was unable to make any match at all for one or more of the names and/or email addresses you entered on the previous page.

Please go back and try other names or email addresses.

Assignee:
380319096@qq.com did not match anything
"

展开
收起
montos 2020-06-01 20:53:54 596 0
1 条回答
写回答
取消 提交回答
  • "

    不行的。我试过。

    如果楼主实在是想要这样,可以自己写maven插件实现

    ######<div class=""ref"">

    引用来自“大轮明王”的评论

    不行的。我试过。

    如果楼主实在是想要这样,可以自己写maven插件实现

    看来只能 自己写maven插件实现了######
    <targetPath>config</targetPath>
    ######

    搞定了,解决方法如下:

    把src/main/resource/config目录,移动到src/main/config下

    然后,pom.xml里面配置


    <resources>
    	<resource>
    		<directory>${project.basedir}/src/main/resources</directory>
    	</resource>
    	<resource>
    		<directory>${project.basedir}/src/main/config/${env}</directory>
    	</resource>
    </resources>

    另外,如果有用到assembly,则assembly.xml里面也要做配置

    <fileSet>
    	<directory>src/main/resources</directory>
    	<outputDirectory>conf</outputDirectory>
    </fileSet>
    <fileSet>
    	<directory>src/main/config/${env}</directory>
    	<outputDirectory>conf</outputDirectory>
    </fileSet>




    "
    2020-06-01 20:54:05
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载