Howdies!

I have a custom purchase order payment module, and I have configured the email order to display the additional data: account name, account number, PO number. It is working for HTML but not working for text emails.

In HTML the email looks like this:
Payment Method
Purchase Order with the following information:
Account name: test acct name
Account number: test acct number
PO Number: test order number
in a text email, it looks like this:
[FONT=Courier New]Payment Method
------------------------------------------------------
Purchase Order

with the following information:
Account name: %s
Account number: %s
PO Number: %s[/FONT]
I was unable to use Dr. Byte's updated email footer detail, it just wasn't printing the info in the HTML email. I had once had a discussion with Dr. Byte about this, and he had proposed the following code, but it did not work:
PHP Code:
$html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) && $GLOBALS[$payment_class]->email_footer != '') ? nl2br($GLOBALS[$payment_class]->email_footer) : $this->info['cc_type']; 
This is what's working for HTML email:

includes/languages/english/modules/payment/po.php
PHP Code:
 define('MODULE_PAYMENT_PO_TEXT_EMAIL_FOOTER''with the following information:<br>
 Account name:&nbsp; %s<br>
 Account number:&nbsp; %s<br>
  PO Number:&nbsp; %s'
); 
includes/classes/order.php around line 992
PHP Code:
// This is for purchaseorder module email info
    
$html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) ? sprintf($GLOBALS[$payment_class]->email_footer$this->info['account_name'], $this->info['account_number'], $this->info['po_number']) : ' '); 
I guess the $html_msg means that this is excluded from a TEXT email. I'm wondering how to deliver the info to a text email?

thanks!!! I love you guys.

---Diana