You are not logged in.

  • Login

1

Thursday, December 23rd 2004, 7:35pm

mail(): Attachments

Folgendes Problem:
Ich versende mit der PHP-Funktion mail (also sendmail) mails. jetzt möchte ich an diese über das web versendete mails noch dateien anhängen. Wie ist das technisch zu realisieren?

3

Monday, December 27th 2004, 1:58pm

D.h. nur für ein popeliges Attachment muss ich gleich den kompletten Header selbst angeben?
Und wie ist das mit PDF? Welches encoding braucht man da? Welcher Content-Type?

5

Tuesday, December 28th 2004, 3:07pm

Copyright © Ian S. Graham, 1997
Last Update: 25 January 1996
lol :lol:
aber ne ganz interessante seite, werd ich mir mal merken.

6

Saturday, January 22nd 2005, 9:58pm

Gehe ich richtig in der Annahme, dass alle Dateien mit MIME-Typ text/irgendwas 8bit sind?

7

Sunday, January 23rd 2005, 2:37pm

2 tolle links gefunden:
standardmäßig sind es 7 bit

Quoted

Content-Transfer-Encoding
MIME (RFC 2045) defines a set of methods for representing binary data in ASCII text format. The content-transfer-encoding: MIME header indicates the method that has been used. Typically encountered values for this header include:
* 7bit - up to 998 octets per line of the code range [1..127]\{CR, NL}. This is the default value.
* 8bit - up to 998 octets per line of the code range [1..255]\{CR, NL}. This can be used only if both the sending and receiving mail transfer agents support the 8bit MIME transport SMTP extension.
* binary - any sequence of octets
* quoted-printable - used for text data consisting primarily of US-ASCII characters
* base64 - used for arbitrary binary data

Similar threads

Social bookmarks