PDA

View Full Version : email form


dreamlynx
03-05-2006, 10:28 PM
I have used the email form on the front page of this site and it works great, I would like to ad a cc: bcc and also a way to load attachments to the email form. Does anyone have a add on to the php script so i can make the fuctions happen.

Thanks

edbr
03-06-2006, 01:46 AM
check out this
http://www.dtheatre.com/scripts/

D7
03-06-2006, 02:50 AM
well, i didn't read the link too well, but simply add

$header .= "BCC: foo@bar.com" . "\r\n";

;)

davidj
03-08-2006, 05:04 PM
and for your attachments read this zend article about MIME

http://www.zend.com/zend/spotlight/sendmimeemailpart1.php