#558 new
Imran

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

    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.

New-ticket Create new ticket

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

Shared Ticket Bins

People watching this ticket

Pages