We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Retrieve customer info before sending downloadlink to E-mail address

Stef Merlijn
Stef Merlijn asked
on
Medium Priority
253 Views
Last Modified: 2013-12-12
Hi,

I need to be able to retrieve customer information when a customer wants to download mij application.
The following fields are required on the form (all fields must be entered):
* Companyname
* Name
* E-mail
* Phone

Following fields must be set in code:
FROM-E-mail address: myemail@mydomain.com
Subject: some text
Body: some text in the E-mail containing a.o. a downloadlink to retrieve the software.

The customer enters these field.
The "download"-button is pressed.
A E-mail with downloadlink is sent to the entered E-mailaddress.
A copy of this E-mail is also sent to the FROM-E-mailaddress

The entered fields need to be stored in a MYSQL DB:
Tablename:
- Downloads
Fields:
- DownloadDate (always set to today)
- Email
- Company
- Name
- Phone

Can anybody supply me with a working code example?
Comment
Watch Question

Most Valuable Expert 2011
Author of the Year 2014
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Stef MerlijnDeveloper

Author

Commented:
It has pointed me in the right direction. Thank you very much!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.