Commit e03b7f87 authored by sikeda's avatar sikeda
Browse files

[feature] Display name in From: header field of message sent by sympa will be encoded properly.

- "email_gecos" parameter during alpha releases was renamed to "gecos".
- Encodes display name (taken from gecos parameters) using tools::addrrencode().

Note: MIME::EncWords >= 1.012 & MIME::Charset >= 1.008.2 are required to use 'DISPNAME' feature by current MIME::EncWords.


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10223 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent a0d6a3e2
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc%]near expiration of your certificate[%END%][%END%]
[%|loc(expiration_date)%]Your authentification certificate will expire on %1.[%END%]
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
To: [% to %]
Subject: [% FILTER qencode %][%|loc%]Results of your commands[%END%][%END%]
X-Loop: [% conf.sympa %]
......
From: [% conf.email %]@[% conf.host %]
Subject: [% FILTER qencode %][%|loc(list.name)%]resubscription to %1[%END%][%END%]
[%|loc(list.name,list.host,user.email)%]You have been subscriber of list %1@%2 with email %3 for 1 year or more;[%END%]
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc%]Subscription summary[%END%][%END%]
[%|loc(user.email)%]Summary of your subscription (using the e-mail %1).[%END%]
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc%]User guide[%END%][%END%]
SYMPA -- Systeme de Multi-Postage Automatique
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc(list.name)%]Archives index of list %1[%END%][%END%]
[% FOREACH a = archives -%]
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc(list.name)%]%1 mailing list creation[%END%][%END%]
[%|loc(list.name,list.host)%]%1@%2 mailing list has been activated by listmaster.[%END%]
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc(list.name)%]Rejected mailing list %1 creation[%END%][%END%]
[%|loc(list.name,list.host)%]%1@%2 mailing list has been rejected by listmaster.[%END%]
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
To: [% to %]
Subject: [% FILTER qencode %][%|loc%]List unknown[%END%][%END%]
Content-Type: multipart/report; report-type=delivery-status;
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
To: [% to %]
[% IF type == 'shared_moderated' -%]
Subject: [% FILTER qencode %][%|loc(list.name)%]Shared document to be approved for %1[%END%][%END%]
......
[%- IF notification_messages.size == 1 -%]
[%- notification_messages.first -%]
[%- ELSE -%]
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
To: [% FILTER qencode %][%|loc%]Listmaster[%END%] <[% to %]>[%END%]
Subject: [% FILTER qencode %][%|loc(notification_messages.size,operation)%]You have %1 "%2" tagged notifications[%END%][%END%]
Content-Type: multipart/mixed; boundary="[% boundary %]"
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
To: [% FILTER qencode %][%|loc%]Listmaster[%END%] <[% to %]>[%END%]
[% IF type == 'request_list_creation' -%]
Subject: [% FILTER qencode %][%|loc(list.name,list.host,email)%]List "%1@%2" creation request from %3[%END%][%END%]
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
To: [% to %]
[% IF type == 'arc_quota_exceeded' -%]
Subject: [% FILTER qencode %][%|loc(list.name)%]List %1 archive quota exceeded[%END%][%END%]
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc%]Public lists[%END%][%END%]
[%|loc(conf.email,conf.host)%]Here is the list of lists from %1@%2[%END%]
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
To: [% to %]
[% IF type == 'intern_error' -%]
Subject: [% FILTER qencode %][%|loc%]Message distribution: Internal server error[%END%][%END%]
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
To: [% to %]
Subject: [% FILTER qencode %][%command%][%END%]
......
From: [% conf.sympa %]
Reply-to: [% conf.sympa %]
[% IF request_topic -%]Subject: [% FILTER qencode %][%|loc(list.name)%]Tag your message for list %1[%END%][%END%]
[% ELSE -%]Subject: [% FILTER qencode %]Confirm [% authkey %][%END%]
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
To: [% newuser.email %]
[% IF action == 'subrequest' -%]
Subject: [% FILTER qencode %][%|loc(conf.title,list)%]%1 / subscribing to %2[%END%][%END%]
......
From: [% conf.sympa %]
To: [% newuser.email %]
Subject: [% FILTER qencode %][%|loc(conf.title)%]%1 / your environment[%END%][%END%]
......
From: [% conf.email_gecos %] <[% conf.email %]@[% conf.host %]>
To: [% to %]
[% IF type == 'auto_notify_bouncers' -%]
Subject: [% FILTER qencode %][%|loc(list.name)%]Your bouncing address in list %1[%END%][%END%]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment