![]() |
contact us file attachment
I am working on file attachment on contact us form.. And I am having trouble attaching the files to the email sent to help department.. I want a direct attachment since the message was sent only to email, I don't need to save a copy of attachment to the server.
I saw this code in func.mail.php Code:
func_attach_images($mail_message);wherein the images url are embedded into the message body. This is applicable for sending email with images/HTML format. |
Re: contact us file attachment
This could be tricky to do right. As far as I know the attachment must be uploaded to the server before it can be sent out, I can't think of a way around that.
Be very careful to sanitize this, if not done right it could easily open a huge security hole. |
| All times are GMT -8. The time now is 04:37 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.