hallo
Hoffentlich darf ich hier mein Problem im englischen melden. Sonicht, dann will ich es gerne im deutschen versuchen...
I'm new to Typo3 and I truly find it an amazing system
but I'm facing a problem I cannot find an answer for: I want to run a custom php script when sending a form (via the powermail extension)
- I have put a php include to my php page in class.tx_powermail_submit.php
- my included php page simply sends a mail message to my mail address; later on, I want to do something else, namely calling to the API of Moneybird (this is a Dutch system for creating invoices); but to get to that stage, I first need to know how I can "read" or address to the fields in my powermail form in the code
below you can find a piece of the code (which is just an example, it is not the definite code I will be using)
the question is thus: how (which format/which code example) can I use to read out and use the value of a powermail form field in my own php page
some examples that I already tried, but without success:
$GLOBALS['TSFE']->fe_user->sesData['powermail_pi1']['uid83']
$tx_powermail_pi1[uid83]
many thanks in advance for helping me out on this one
Ruben America
-----------------------------
$facturatie = "moneybird";
if($facturatie == "moneybird") {
$Naam = $GLOBALS['TSFE']->fe_user->sesData['powermail_pi1']['uid83'];
$EmailAdres = $tx_powermail_pi1[uid96];
$Bericht = $tx_powermail_pi1[uid97];
$formsent = mail('innovedia@gmail.com',
'Gegevens afkomstig van formulier',
"Naam: $Naam
Bericht: $Bericht",
"From: $EmailAdres
Bounce-to: innovedia@gmail.com");
}