--- /tmp/class.t3lib_formmail.php	2006-09-09 11:05:24.926350842 +0000
+++ t3lib/class.t3lib_formmail.php	2006-09-09 11:03:46.404193592 +0000
@@ -121,6 +121,9 @@
 			$this->organisation = ($convCharset && strlen($val)) ? $GLOBALS['TSFE']->csConvObj->conv($val,$GLOBALS['TSFE']->renderCharset,$this->charset) : $val;
 
 			$this->from_email = ($V['from_email']) ? $V['from_email'] : (($V['email'])?$V['email']:'');
+			if (strlen($GLOBALS['TSFE']->config['config']['spamProtectEmailAddresses_atSubst']) > 0) { 
+				$this->from_email = str_replace($GLOBALS['TSFE']->config['config']['spamProtectEmailAddresses_atSubst'], "@", $this->from_email);
+			}
 			$this->replyto_email = ($V['replyto_email']) ? $V['replyto_email'] : $this->from_email;
 			$this->priority = ($V['priority']) ? t3lib_div::intInRange($V['priority'],1,5) : 3;
 
