Sorry brains a bit adled from the sun today!! I meant '$from'. This is what I changed the code to with no avail:

$db->Execute("insert into " . TABLE_COUPON_EMAIL_TRACK . "
(coupon_id, customer_id_sent, sent_firstname, emailed_to, date_sent)
values ('" . $insert_id ."', '0', '".$from."',
'" . $mail['customers_email_address'] . "', now() )");

I wonder what variable it is that holds the logged in admin users name?