Project

General

Profile

Actions

Bug #14947

closed

Mail form won't send from typo-script produced mail form

Added by Steven Bagshaw over 18 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-08-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Since, I suspect, upgrading to 3.8 a mail form I produce using Typoscript has stopped sending emails.

However, another I have using a content element (type=form) still works fine.

I tried fiddling around with strict_formmail, referer checks and so on, but that only made them both not work.

I reach line 1950 of tslib_fe.php in all of this - it's looking for 'subheader' in a db record, but this is the bit that doesn't work for the Typoscript form.

Thank you!

This is possibly the same bug as 0001374, but I'm raising it separately in case it isn't.

My content element form specifies the recipient in the "Recipient-Email" section, which actually fills the data into tt_content.subheader.

The relevent part of my Typoscript form is here

temp.ADD_COMMENTS {
layout = <div class="bodyText">###LABEL###<br/>###FIELD###</div>
hiddenFields.subject= TEXT
hiddenFields.subject.value = Comment Submission
hiddenFields.email = TEXT
hiddenFields.email.value =
hiddenFields.html_enabled = TEXT
hiddenFields.html_enabled.value = 1 # THIS IS THE PID OF THE THANK YOU PAGE
redirect = 110
recipient = # This is needed, otherwise the email doesn't send
locationData = 1
no_cache=1
}

I tried putting recipient in as a hidden field directly, but t3lib_formmail has this as a reserved name and I suspect deletes it.
(issue imported from #M1409)

Actions #1

Updated by Tauras over 18 years ago

I have the same problem. i tried to track this issue and found out one:
/tslib/class.tslib_fe.php line 1949 calls sys_page->checkRecord()
/t3lib/class.t3lib_page.php line 722 function checkRecord() gets data from 'page' table, but it does not get any information from 'tt_content' table and it means it cannot return subheader field.
btw. content type=form for me does not work.

Actions #2

Updated by Chris topher over 15 years ago

  • Bug in a very old version of TYPO3
  • I cannot reproduce this behaviour
  • No responce for more than 3 years
    => Should be closed.
Actions #3

Updated by Christian Kuhn over 15 years ago

Closed:

- Probably a duplicate of #14925
- No good description on how to reproduce
- No new input for a long time
- FORM cObject works for me

Please open a new bug with exact description on how to reproduce and details of your environment if this problem still exists in current versions.

Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF