FORMfields, the premiere web framework
Login
Support Home | Knowledge Base | Documentation | Forums | Contact Us
Info
FORMfields & FORMgen :: Email

Upload Field - Including a Link to Uploaded Files Without Attaching to an Email

(1982 views. Last Updated: 2008-04-17 1:06 AM)

Here is how you can include links to the files uploaded by your form without attaching the files to the email that is sent by your form. This could be useful if say your uploads are too large to be attached to an email.

As per the API documentation, the definition for FfForm::email() is:
email(string to, string subject, string from, string cc, string bcc, string msgHeader, string msgFooter, array attachments, mixed useHtml, string cssFile, boolean sendFormData, boolean sendFormUploads, useHtml false)

Therefore, you can prevent FORMfields from attaching the uploads by specifying a value of false for sendFormUploads.

For a little more background on using FfForm::email(), please see http://formfields.com/FORMfieldsArea/FORMfields3/tutorials/emailingForm.php
Info
Support | Earn Money
Copyright © 2005-2019 Brain Book Software LLC.
Built with FORMfields, the premiere web framework.