RE: Email personalization

"Trevor Toenjes" <[email protected]> Fri, 7 Dec 2001 09:03:00 -0500
Newsgroups gmane.comp.web.zope.zmailman
Message-ID <[email protected]>
> - Write a new tag like <dtml-sendmailmanmail> -- I know I should work on a
> better name ;-) that binds to MailMan

<dtml-var sendZMail> - I like this approach because it requires less from
the user.  Good for newbies and quick out-of-the-box productivity.  And the
user doesnt need to define an adapter for each instance.

> - Just implement an alternative MailHost object that binds to MailMan

I like this if it allows existing Zopes to immediately to bind to Mailman
without altering any existing Mailhost/sendmail code.
Would a user ever need to also use SendMail or have 2 mail/list apps?

> - implement a "Mail Document/Mail Method"

This could be the REAL POWER of ZMailman.
But we need to consider all possibilities of SMTP.  I have an External
Method that looks something like this.
<dtml-call expr="sendit('[email protected]',[email protected],'the
subject','the text mime part','the HTML mime part')">
In applications, I am calling objects for every attribute in 'sendit'.

But this also uses Zope to access an email list.  I typically have this in a
<dtml-in myemaillist>...</dtml-in>
And I havent added attachments to the Method yet.

Maybe we need a ...
<dtml-sendZMail expr="(kw**)">  or like-syntax
where kw** might be keyword access to the MailMain API MIME types.  I dont
know the MailMan API to know if this exists or if I am on track.

The real benefit for me, is if MailMan queues the mail to send later and
releases Zope from the process.  I need this ASAP.

-Trevor