Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Form module email field

#558

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.

Reported by Imran · March 5th, 2012 @ 05:22 PM

State: new
Milestone: none
Assigned to: expNinja expNinja

Activity

  1. Imran
    Imran
    • Assigned user set to expNinja

    I see, then note that if the field is optional and you leave it blank, said errors occur.

    March 6th, 2012 @ 03:04 PM

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.