It would be nice if TMDA could use a .msg file (like those found in
.tmda/pending) as the source text of the template files.

Then the simplest template could be something like:

-=-=-=[Start of Template]=-=-=-
From: "%(FULLNAME)s" <%(recipient_address)s>
Subject: Please confirm your message
Reply-To: %(confirm_accept_address)s
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

This message was created automatically by mail delivery software (TMDA).

Your message attached below is being held because the address
<%(confirm_append_address)s> has not been verified.

To release your message for delivery, please send an empty message
to the following address, or use your mailer's "Reply" feature.

   %(confirm_accept_address)s

This confirmation verifies that your message is legitimate and not
junk-mail. You should only have to confirm your address once.

If you do not respond to this confirmation request within
%(pending_lifetime)s,
your message will not be delivered.
-=-=-=[End of Template]=-=-=-

This way if I was so inclined I could use whatever  Content-Type and/or
Content-Transfer-Encoding I felt was appropriate for my needs.

Content-type: multipart/mixed; boundary="Boundary_<myboundarycondition>"
Content-type: multipart/related; boundary="Boundary_<myboundarycondition>"
Content-type: multipart/alternative;
boundary="Boundary_<myboundarycondition>"
Content-type: text/plain; charset=us-ascii

Content-id: <[EMAIL PROTECTED]>
Content-type: image/gif; name="Rose Logo.gif"
Content-transfer-encoding: BASE64
Content-disposition: attachment; filename="Rose Logo.gif"

Content-type: image/bmp; name=bbldotg0.bmp
Content-transfer-encoding: BASE64
Content-disposition: attachment; filename=bbldotg0.bmp

With appropriate intermediary text and boundary lines of course, though a
way to generate globally unique yet internally consistent boundary and
content-id's would be appreciated.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jason R. Mastaler
Sent: Friday, September 12, 2003 3:29 PM
To: [EMAIL PROTECTED]
Subject: Re: HTML responses


Ana Paula Prado <[EMAIL PROTECTED]> writes:

> How can I do for sent /templates/confirm_request.txt in HTML format ?

http://mla.libertine.org/tmda-users/2003-04/msg00014.html

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to