Like Greg pointed out, for MIME you need to set two message headers: MIME-Version: and Content-type:.
I just checked the MailMan programmer's manual and didn't see any API that would let one add headers to an outgoing message. From a security standpoint I can understand why -- to prevent forged headers. I guess the first thing I'd do is check if your favorite email client will decode a MIME encoded document if those headers are missing (you never know). If not, you'll probably have to implement UUEncoded. Recipients can be specified at send time by a string containing the users email address, so no, they don't have to be in any file. And my test just now confirmed that MailMan can deliver email to non-VA addresses with no DOMAIN file entry. At 05:47 PM 6/26/2006, you wrote: >Can MailMan send email to recipients who are not stored in a FileMan file >(XMY parameter of the XMB routine)? Are the recipients indicated by an >email address, or do they get referenced thru a DUZ? > >When you said "connect to Mailman via SMTP." are you referring to inbound >mail only, or is there some way I should compose a MIME-encoded message than >route it to MailMan so it can send it? > >BTW, the creation of the email is the result of an event in VistA, which is >why I would like to tie it into the VistA architecture somehow rather than >writing something new, externally. > >Thanks, >MailNewbie > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Greg >Woodhouse >Sent: Monday, June 26, 2006 2:30 PM >To: hardhats-members@lists.sourceforge.net >Subject: Re: [Hardhats-members] Programatically generate MailMan messages? > > > >--- Dan <[EMAIL PROTECTED]> wrote: > > > Agreed. I guess the point is that you aren't going to get it done > > with > > MailMan unless you code the attachment requirement yourself. > > > > > >True. My point was that in an environment where you'd want to send a >Word document, it probably doesn't make sense to try and compose the >message in Mailman. Better to use your favorite e-mail application and >(if needed) connect to Mailman via SMTP. > >=== >Gregory Woodhouse <[EMAIL PROTECTED]> > >"Judge a man by his questions not his answers." >--Voltaire > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job >easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Hardhats-members mailing list >Hardhats-members@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/hardhats-members > > > > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Hardhats-members mailing list >Hardhats-members@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/hardhats-members Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members