Little BAM assistance

Recently, I have seen some back and forth related to getting the .p
program to send an email. I have a situation which I need to run BAM
everytime a specific customer's product ships. Just to test the email,
I setup the following .p program, but cannot seem to get it to send the
email. My assumption here is ShipHead.ReadyToInvoice = True is the
shipped button from the shipment entry screen.

{I:\mfgsys61\ud\GlbAlert.i &TableName = "ShipHead"}

If (ShipHead.ReadyToInvoice = True) Then Do:

ASSIGN Email-Subject = "CUSTOMER Shipment"

ASSIGN Email-From = "GlobalAlerts@..."

ASSIGN Email-To = "bbutler@..."

ASSIGN Email-Text = "Customer Packing slip #" + String(ShipHead.PackNum)
+ " has Shipped "


Bruce Butler, IT Manager

Knappe & Koester, Inc. <>

18 Bradco Street

Keene, NH

p. 603-355-1166

f. 603-355-2266


The information in this message is proprietary and/or confidential and
is intended only for the use of the individual(s) named above. This
message should not be forwarded without permission from the author. If
this message is received in error or otherwise by someone other than the
addressee, please contact the author at the above number and return the
message or destroy it. In addition, the recipient of this data agrees to
abide by the United States Export Control of Technical Data and
Equipment under the International Traffic in Arms Regulations (ITAR) and
Export Administration Regulations (EAR). The recipient agrees to abide
by these laws and their regulations not only for export and re-export,
but for disclosure to non-U.S. citizens.

[Non-text portions of this message have been removed]