[Typo3-dev] Bug in direct mail
Jan-Erik Revsbech
jer at moccompany.com
Tue Apr 27 23:12:56 CEST 2004
I found a small bug in the direct_mail extension. When wanting to send a
single testemail the name of the field where you enter the email you want to
send to is called SET["test_email"]. but the script expect the mailadress in
the variable email
This should fix it:
Change this line (around line 1460) in mod/class.mod_web_dmail.php
$msg.= '<input'.$GLOBALS["TBE_TEMPLATE"]->formWidth().' type="Text"
name="SET[test_email]"
value="'.$GLOBALS["SOBE"]->MOD_SETTINGS["dmail_test_email"].'"><BR><BR>';
to
$msg.= '<input'.$GLOBALS["TBE_TEMPLATE"]->formWidth().' type="Text"
name="email"
value="'.$GLOBALS["SOBE"]->MOD_SETTINGS["dmail_test_email"].'"><BR><BR>';
I will post this to bugs.typo3.org as well
/Jan-Erik
More information about the TYPO3-dev
mailing list