[%# $Id: send_auth.tt2 12726 2016-03-09 04:01:24Z sikeda $ ~%]
Reply-to: [% conf.email %]@[% conf.host %]
[% IF request_topic -%]Subject: [% FILTER qencode %][%|loc(list.name)%]Tag your message for list %1[%END%][%END%]
[% ELSE -%]Subject: [% FILTER qencode %]Confirm [% authkey %][%END%]
[% END -%]
Content-Type: multipart/mixed; boundary="[% boundary %]"

--[% boundary %]
Content-Disposition: inline

[% IF request_topic -%][%|loc(list.name)%]List %1 allows you to tag your messages, using a set of defined topics. To tag the attached message go to the following page:[%END%]

[% 'request_topic' | url_abs([list.name,authkey]) %]
[%- ELSE -%][%|loc(list.name)%]To distribute the attached message in list %1, follow the link below:[%END%]

[% | mailtourl({subject => "CONFIRM ${authkey}"}) ~%]
  [% conf.email %]@[% conf.host %]
[%~ END %]

[%|loc(conf.email,conf.host)%]Or send a message to %1@%2 with the following subject:[% END %]
CONFIRM [% authkey %]
[%- END -%]

--[% boundary %]
Content-Type: message/rfc822
Content-Transfer-Encoding:  8bit
Content-Disposition: inline
X-Sympa-Attach: yes

[%# Message is attached here. #%]

--[% boundary %]--
