On 12 Nov 2007, at 5:52 AM, marius schebella wrote:

> and, I know, I attach the files as files, but they sometimes appear  
> as text, don't know why.
> marius.

I looked into this a while ago - it depends on the 'format=flowed'  
flag and the 'Content-Disposition' and 'Content-Type' flags on the  
attachments - maybe your client has some settings to select these flags?

-  in your mails each part has 'Content-Type: text/plain' and  
'Content-Disposition: inline' and it is displayed that way on my  
client - all plain text (it fails for the binary file, which is not  
displayed - but that file certainly shouldn't be described as 'text/ 
plain')


> --------------070400050902010409090204
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
>
> hi,
> at some point I had sound and image, but then something broke again,

etc ..

> > mfa.dr
> > IOhannes
> >
>
>
> --------------070400050902010409090204
> Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
>  name="01_basic.vert"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
>  filename="01_basic.vert"
>
> uniform sampler2D texture;
>
> void main()
> {
>       gl_TexCoord[0] = gl_MultiTexCoord0;
>       // perform standard transform on vertex
>       gl_Position = ftransform();
>
> }
>
> --------------070400050902010409090204
> Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
>  name="01_volume.frag"
> Content-Transfer-Encoding: base64
> Content-Disposition: inline;
>  filename="01_volume.frag"
>
> dW5pZm9ybSBzYW1wbGVyMkQgdGV4dHVyZTsKdW5pZm9ybSBmbG9hdCB2b2x1bWU7CgoNCn 
> Zv
> aWQgbWFpbigpDQp7Cgl2ZWM0IEIgPSB0ZXh0dXJlMkQodGV4dHVyZSwgZ2xfVGV4Q29vcm 
> Rb
> MF0uc3QpOwoJZ2xfRnJhZ0NvbG9yID0gQiAqIHZvbHVtZTsNCn0=
> --------------070400050902010409090204
> Content-Type: text/plain;
>  name="test2.pd"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
>  filename="test2.pd"
>
> #N canvas 527 25 782 708 10;


this mail gets displayed as attachments placed in the flow of the  
text - note 'Content-Disposition: attachment' on the relevant parts.

This works well for most clients - the main differences are that some  
clients display the attachments (or their names or links to them) in  
the intended place in the body of the email, while others only  
display the list of attachments separately.

> --Apple-Mail-30--380763525
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain;
>       charset=US-ASCII;
>       format=flowed
>
> test
> test
> test
>
>
>
> --Apple-Mail-30--380763525
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/plain;
>       x-unix-mode=0644;
>       name=-notes.txt
> Content-Disposition: attachment;
>       filename=-notes.txt
>
> textfile
> textfile
> textfile
>
> --Apple-Mail-30--380763525
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain;
>       charset=US-ASCII;
>       delsp=yes;
>       format=flowed
>
>
> test
> test
> test
> test
>
> --Apple-Mail-30--380763525
> Content-Transfer-Encoding: 7bit
> Content-Type: application/octet-stream;
>       x-unix-mode=0644;
>       name=colours.pd
> Content-Disposition: attachment;
>       filename=colours.pd
>
> #N canvas 385 152 626 609 10;

  



_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to