weixin_39737224
2020-12-02 02:28 阅读 0

ReplyTo-Filter does not use ReplyTo-Name

Hello,

I activated the ReplyTo-Filter to use the information out of this header, if present.

The problem is it does not use the ReplyTo-Name for ticket creation. Instead it just uses the senders name.

Is this a bug or working as desired?

Would it be possible to use that name instead? If yes, can someone please tell me how?

Thanks & regards,

Af0x

该提问来源于开源项目:osTicket/osTicket

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

8条回答 默认 最新

  • weixin_39765697 weixin_39765697 2020-12-02 02:28

    I cannot reproduce your issue using latest pull from develop-next (which is v1.12). I added a Reply-To header to my email, added a "Use Reply-To Header" filter, and everything worked as expected.

    Any errors in your error logs? What does your Reply-To header look like?

    Cheers.

    点赞 评论 复制链接分享
  • weixin_39737224 weixin_39737224 2020-12-02 02:28

    maybe I have to add that I use the automail.php to create the ticket via API. The Reply-To-Section looks like this: Reply-To: Full Name <user.tld>

    The e-mail address gets applied to the ticket but the Full Name part is not used.

    Regards

    点赞 评论 复制链接分享
  • weixin_39765697 weixin_39765697 2020-12-02 02:28

    What exactly is the name that is used in the header? It shouldn’t matter how the ticket is created as they all go through the same process.

    Cheers.

    点赞 评论 复制链接分享
  • weixin_39737224 weixin_39737224 2020-12-02 02:28

    In my test there was an

    é

    in that name.

    点赞 评论 复制链接分享
  • weixin_39737224 weixin_39737224 2020-12-02 02:28

    But even if I remove that letter, there is no change. The Full Name out of the Reply-To-Header is not used.

    点赞 评论 复制链接分享
  • weixin_39737224 weixin_39737224 2020-12-02 02:28

    ok, I´m digging deeper. As the first submitted name seems to be the one used in any further support requests from that e-mail address, my prior statement is wrong as the Full Name of the Reply-To Header is used if no special character is contained in that Full Name. The Full Name with special character before was something like this: =?iso-8859-1?Q?Full=E9_Name?= what should read like this: Fullé Name The subject also contained this Full Name but was transferred correctly =?iso-8859-1?Q?Request_from_Full=E9_Name?= what should read like this: Request from Fullé Name

    点赞 评论 复制链接分享
  • weixin_39765697 weixin_39765697 2020-12-02 02:28

    I figured as much that’s why I asked. We have a pull for this here: https://github.com/osTicket/osTicket/pull/4894

    If the name contains a special char it’s supposed to be quoted (this is an email standard everyone is supposed to follow). If not it usually breaks email parsers. Whatever you used to send that email is not formatting the name properly which breaks in osT. That’s fine though because the pull formats it correctly if incorrectly formatted.

    Cheers.

    点赞 评论 复制链接分享
  • weixin_39737224 weixin_39737224 2020-12-02 02:28

    I applied that fix and everything is fine. Very nice! Thank you so much. Regards

    点赞 评论 复制链接分享

相关推荐