Use form fields as From name and Email
I have made a form with the Pure ASP Upload feature and I want de values entered in the form (email and name of sender for example) to be added in the mail upload feature. The inserted email adres of the sender must be in de "from Email' field and the name of the sender in the "from name" field. How can i do this ?
Answer:
Very easy. Just enter the form fields as:
<%=(UploadFormRequest("FromName"))%>
and
<%=(UploadFormRequest("FromEmail"))%>
Where "FromName" and "FromEmail" are the names of the corresponsing form fields.
DISCLAIMER:
This is extra complimentary content which purpose is to show additional usage that is not part of the product, i.e. it suggests tips for extending the functionality of the product by the users themselves.
It is provided "as is", without warranty of any kind, express or
implied , including but not limited to the warranties of
merchantability, fitness for a particular purpose and nonfringement of
third party rights.
DMXzone does not take responsibility to
support the suggested content to be fully compatible and working as
intended and does not provide support for extended functionality which
is not included in the current release of the extension.
It is highly recommended that only more advanced developers use it.
Comments
Use form fields as From name and Email with PHP version
I have seen the article on how to use form fields when emailling a file using the ASP Pure Upload extension.
How do you achieve the same using the PHP Pure Upload?
You must me logged in to write a comment.