PHP Mail attchment

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
emartens
Forum Newbie
Posts: 2
Joined: Thu Oct 03, 2002 5:39 am

PHP Mail attchment

Post 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
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
Last edited by twigletmac on Thu Oct 03, 2002 5:55 am, edited 1 time in total.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
Post Reply