Welcome to WebmasterWorld Guest from 54.242.173.65

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Using form to send mail with PDF attachment

     
10:38 am on Sep 20, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:June 7, 2007
posts:82
votes: 0


Hey there webmaster team. This week I've been banging my head into a wall with this problem:

I have a form to be filled in by the user, which includes an upload file feature. This is going to be a PDF but I haven't restricted it to this thus far. Anyway, this PDF is uploaded and an email is sent to the administrator, but I want to send this PDF as an attachment in this email.

So far I've managed to send a PDF as an attachment, but not part of this form. The upload part is fine, I just can't intergrate the PDF attachment into the email in this form.

I was wondering if anyone had any scripts lying around which dealt with this issue; just reading in the users selected file and attaching it to an email.

Cheers

10:59 am on Sept 20, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 30, 2003
posts:3719
votes: 0


The PHP Mailer class has functions for sending attachments:
[phpmailer.sourceforge.net...]

dc

11:05 am on Sept 20, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:June 7, 2007
posts:82
votes: 0


Okay, so what's my php.ini include_path?
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members