Project

General

Profile

Actions

Bug #19176

closed

mailform requires email field name to be exactly "email" it should be case insensitive

Added by Adrien Laurent over 16 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-07-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello,

The TYPO3 standard mailform requires the email field name to be exactly "email" to use the email as the sender, otherwise the server name is used as sender.

It's is not obvious for novice user, I think it should be case insensitive and allow "e-mail" too.

Adrien

(issue imported from #M9092)


Files

9092.patch (1.12 KB) 9092.patch Administrator Admin, 2008-08-29 14:55
Actions #1

Updated by Xander Damen over 16 years ago

A user could create a form with field named e-mail, E-mail, Email etc. Which field should take precedence?

I think a clearer documentation is better then to allow more than one field for e-mail.

Actions #2

Updated by Adrien Laurent over 16 years ago

A user could create a form with field named e-mail, E-mail, Email etc. Which field should take precedence?
-> Either first or last one (that could be specified in documentation)

I think a clearer documentation is better then to allow more than one field for e-mail.
-> I do not agree with that, software should work at first without requiring the end user to read any documentation

Actions #3

Updated by Benni Mack over 16 years ago

Well, I'd like to have an option to set the name of the field either via TS or in the installer, what do you think?

Anyone up to create a patch for this one?

Actions #4

Updated by Christian Jul Jensen about 16 years ago

attached patch which make it configurable.

Documentation for TSref 7.3 CONFIG:

Property:
formmailSenderField

Data type:
String

Description:
Defines the field in formmail that is used as sender address for the mail.

Default:
from_email and email

A note should probably also be added to the FORM section

Actions #5

Updated by Christian Jul Jensen about 12 years ago

  • Assignee deleted (Christian Jul Jensen)
  • Target version deleted (0)
Actions #6

Updated by Alexander Opitz over 11 years ago

  • Status changed from Accepted to Needs Feedback

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

Actions #7

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF