Page 1 of 1

PHP Mail attchment

Posted: Thu Oct 03, 2002 5:39 am
by emartens
Is there anyone who has an example PHP code to create an email with file attachment?

best regards,

Ed Martens
huizemartens@planet.nl

Posted: Thu Oct 03, 2002 5:42 am
by twigletmac
Did you look in the manual?
http://www.php.net/manual/en/function.mail.php

The manual entry leads you to this:
http://www.zend.com/zend/spotlight/send ... lpart1.php
and this
http://pear.php.net/Mail_Mime

This has been discussed a few times before, did you try searching the forum using the keywords 'mail AND attachment'?

Mac

Posted: Thu Oct 03, 2002 5:52 am
by twigletmac
Please do not spam the board by asking the same question in multiple threads. Any additional posts will be deleted.

If you don't want a resource that's in the manual - go to the zend.com link.

If you want ready-made code try hotscripts.com.

Mac