what also is a great help, is sending yourself an email with an attachment, en check the sourcecode of your mail... (in outlook that is: properties, details, message source)... one tip: don't forget the empty lines between the sections...
Greets, Edward ----- Original Message ----- From: "Mike Eheler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 01, 2002 10:01 PM Subject: [PHP] Re: Email Attachment > That's because it's not a specific feature of mail sending/php's mail > features. > > Instead you should look around for code examples that achieve this, as > it is no small task, and will require that you learn a good deal about > MIME and how files are "attached" to emails.. a good place to start > would be http://phpclasses.upperdesign.com/ > > Mike Eheler > SearchBC.com Technical Support > > Mauricio Sthandier wrote: > > Hello, I'm new in php development... I was wondering how can I attach a Word > > (.doc) Document in an email sent with the mail() function (if I can do it > > just with it). > > > > I know it has to see with the additional headers of the email, but I would > > be grateful If anyone could tell where can i go to for this specific > > information. > > > > I couldn't find it in PHP manual (.pdf version). > > > > Thanxs ! > > > > > > > > > > > -- > Animals can be driven crazy by putting too many in too small a pen. > Homo sapiens is the only animal that voluntarily does this to himself. > -- Lazarus Long > > -----BEGIN PGP PUBLIC KEY BLOCK----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > mQGiBDxa9oIRBACuGtJ4G2Clyv695SU3Mw88UG4EO5BoAUrvWaa7263EW6DWpHaB > FxJutSyohKbHwlhpVBo8shQ3mD0WP8lhxZuetPs/KmWDu1Vqln+41MxCX5Pm3INt > 64UxM2T/YPIOhjwGNlEtu2mcQGwkNCKzihc2m0yzXvBOeqQXrZXdz93BQwCgrYS8 > rO+mXPjoe1QQ5UWHSjye07ED/j7VJSnqNeUuv3ZCJ+DII3n9IhSPrykRkBN4PejD > RT8PDhbqqHb69U/+KVNSw3u7yLqD+6T/deR147G8cJ8/AIckGfgB+SaNXAJ1dDK0 > 2QH/wQiQp+9qlqJJAgfb2TrdK041z0m9qv5s0EpDEsTxoxLbBWLSE0w1xqrFYUHd > abQPA/9kJgA3yts6M+shtRQSg7QGvChuT5IerDHBZ+TkHnXbpZ5qTW/WBFZMn3oE > pqVtwmArndQYwwgu09j48EXDqnNCRoUwaEg458mi0F3cAqL34l0Hi8OYDkV53+UL > anUaTHFJCSAmfenCyeM+jsNNyq4JU5cAu1B26IetTRgZTNMlsbQjTWlrZSBFaGVs > ZXIgPG1pa2VAaWRlYXJlc291cmNlLmNvbT6IVwQTEQIAFwUCPFr2ggULBwoDBAMV > AwIDFgIBAheAAAoJEKrKiKGSvUb6Sb4AoJR3wyrB/cFRdRixW0pekAOUthxvAJ4k > A1OrTC+CmUqjP4frbdGQ3IreIbkBDQQ8WvaJEAQA7Qtz4irfoq4etWr6uMX1WsTS > G6TK6EL+A1UCOZchK9Hs/cbdKLzP0kr4Ic7NjP2oF925qCi90g/nuKU5rp/Qv9ns > GPaRiczyNRgt3DTK+vqe0zBvgH6JnL4KC1aKdGUESQaJGvsvrHC9oXyjfzQHZRzL > 7nM5N7kMjW3oFVxvvwsAAwYD/in3u7k3QQijKGTv3hSuTFy94PqLVTaFPR6wPRvj > 2Fkp9siVzg6Jxt2eEpxOK/gEBNe5C5JB1vemMoOesoRg2UGaa/k4t7o+RYop2VKo > wsiCUQ8y/115WZ+4l1vrG0PstfQD3lFUoM6ThGThEZ/k8Hu/dIJE8noZdpAHwCer > X5T9iEYEGBECAAYFAjxa9okACgkQqsqIoZK9RvpR8ACdE6TAt/xh5WnuF6nqcCJy > GmgiO74An27yM1es2sp4uLheLGBpCCcF1fM2 > =F/K7 > -----END PGP PUBLIC KEY BLOCK----- > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]