euglug.org

[Eug-lug] OT attachments to email

작성자

카테고리:



larry priceThu Aug 4 12:18:17 PDT 2005

On 8/4/05, Fred James <fredjame at fredjame.cnc.net> wrote:
> All
> This a bit off topic, but it does start with Unix.  The question first,
> and then the details for those who are interested.
> 
> Question:
>  From a Unix system, I need to send script generated email to a list of
> addresses with an attachment.  The recipients are a mixed bag - PC and
> MAC users, and some use Notes as their mail client.  As detailed below,
> the result for some MAC/Notes user is less than satisfactory when I use
> 'uuencode'.  Can anyone suggest another route, or some documentation,
> please?  Or is this just a hopeless case of non-interoperability?
> 

is base64 encoding more palatable?

generating well formed MIME attachments is tricky, I have had the most
success using python's Email package to solve that prob.

-- 
http://Zoneverte.org -- information explained
Do you know what your IT infrastructure does?