Tagged: CONTACT FORM, file upload
Hello
Some of my customers need to include images, pdf’s, or office files like .doc, .xls etc. on the contact form, so we can work on better performance.
I’m using “WP SMTP” plugin (https://wordpress.org/plugins/wp-smtp/)
so mails are sending more secure an accurate than phpmail
Is that possible on any way, without any additional plug-ins?
I see a “custom html element” option in contact form settings.
Please enlighten me with any of your ideas :)
Thanks!
Hey GizmakSanayi,
You might want to use some forms plugin that has a file upload option, like Contact Form 7.
Here are the docs for you:
Best regards,
Victoria
Hi,
i include the following code in the HTML of custom html element:
<form action=”send.php” enctype=”multipart/form-data” method=”post”><input accept=”.pdf,.jpg,.png” name=”attachement” type=”file” />
</form>
and it allowed me to include files but, when sending the form, the attachement it is not appearing in the email received.
Maybe all together we can find a way, any ideas?
Thank you,
Hi cmgmunoz,
There has to be code on the backend that handles it.
You might want to use a plugin as the theme does not have this option.
Best regards,
Victoria