Email sent by Bugzilla contains on email ID

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Email sent by Bugzilla contains on email ID

antovinraj
Hi Team,

Steps to reproduce:

Sending email from Bugzilla.
Added the "From: [% changer.login %]" in the
"template/en/default/email/bugmail-header.txt.tmpl" file.



Actual results:

We are getting like

From: <[hidden email]>


Expected results:

It should be

From: Antoine Vinodh <[hidden email]>

But in the "To:  Antoine Vinodh <[hidden email]>" getting as
expected. But not in the mail from.

Can you please suggest me how to resolve this?

Thanks,
Antoine.
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: Email sent by Bugzilla contains on email ID

antovinraj
Hi Thorsten,

Checked using this

From: [% changer.email %]
To: [% to_user.email %]
Reply-To: [% Param('mailfrom') %]

It is providing only email ID

Thanks,
Antoine


On Tue, Jun 16, 2015 at 5:58 PM, Thorsten Schöning <[hidden email]>
wrote:

> Guten Tag Antoine Vinodh Raj,
> am Dienstag, 16. Juni 2015 um 13:46 schrieben Sie:
>
> > From: <[hidden email]>
> [...]
> > From: Antoine Vinodh <[hidden email]>
> [...]
> > But in the "To:  Antoine Vinodh <[hidden email]>" getting as
> > expected. But not in the mail from.
>
> changer.login is just the mail address of the user, "to" is specially
> build for the template. changer.name contains the real name you want,
> but be aware, you need to build "From" fully standards compliant with
> proper encoding of characters and all that stuff on your own!
>
>
> https://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/User.html#Other_Methods
> http://template-toolkit.org/docs/#section_Documentation
>
> Said that, my templates just contain the following line:
>
> > To: [% to_user.email %]
>
> So I guess your template's "To" is already customized as well and you
> just need to take the same approach for "From"?
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail: [hidden email]
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
>
> _______________________________________________
> support-bugzilla mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/support-bugzilla
> PLEASE put [hidden email] in the To: field when you
> reply.
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.