Bug #14947
closedMail form won't send from typo-script produced mail form
0%
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 = info@mycompany.com
hiddenFields.html_enabled = TEXT
hiddenFields.html_enabled.value = 1
# THIS IS THE PID OF THE THANK YOU PAGE
redirect = 110
recipient = tantrum@mycompany.com
# 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)
Updated by Tauras about 19 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.
Updated by Chris topher about 16 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.
Updated by Christian Kuhn almost 16 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.