Form module email field
Reported by Imran | March 5th, 2012 @ 05:22 PM
Create a form and add a text field with the identifier 'email'. Make the form's settings email the submission to a certain user. Try submitting the form, it will use the 'email' field as the from address to send the email and you'll get a whole bunch of errors if you enable the DEV and SMTP_DEV variables. Basically the form's $_POST['email'] variable overrides the SMTP_FROMADDRESS variable. I'm not sure why this would be but it could be potentially dangerous.
Comments and changes to this ticket
-
Imran March 6th, 2012 @ 03:04 PM
- Assigned user set to expNinja
I see, then note that if the field is optional and you leave it blank, said errors occur.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS