mail() + filled in form as attachment
Posted: Mon Jan 26, 2004 3:11 am
I have a page with a form.
The layout of the form is very important to have a good overview.
When clicking submit, I want to email the form through the mail() function. Now, that's not a problem to do of course. But the tricky part is that I want the filled in form to be sent as an attachment with the email.
The reason for that is that the layout remains the same in the attachment and the people the mail is sent to, can easily print the form and see the filled in form properly (no plain text).
Can this be done through PHP? Any help appreciated!
The layout of the form is very important to have a good overview.
When clicking submit, I want to email the form through the mail() function. Now, that's not a problem to do of course. But the tricky part is that I want the filled in form to be sent as an attachment with the email.
The reason for that is that the layout remains the same in the attachment and the people the mail is sent to, can easily print the form and see the filled in form properly (no plain text).
Can this be done through PHP? Any help appreciated!