We aren't on 803, but we are on V8. (8.00.811A). Maybe this will
help. The subject line of our e-mail says "ASV Part # XXX has been
added or changed":
{ud/GlbAlert.i &TableName = "Part"}
/* Set the FROM address */
ASSIGN Email-From = "vantage@...;Part Masterfile Add/Change":U.
/* Add the part number to the subject line */
ASSIGN Email-Subject = Email-Subject + " ASV Part Number " + STRING
(part.partnum) + " " + "has been added or changed" + ".".
/* Set the email type to be HTML */
ASSIGN Email-Mime-Header = {&HTML-Mime}.
help. The subject line of our e-mail says "ASV Part # XXX has been
added or changed":
{ud/GlbAlert.i &TableName = "Part"}
/* Set the FROM address */
ASSIGN Email-From = "vantage@...;Part Masterfile Add/Change":U.
/* Add the part number to the subject line */
ASSIGN Email-Subject = Email-Subject + " ASV Part Number " + STRING
(part.partnum) + " " + "has been added or changed" + ".".
/* Set the email type to be HTML */
ASSIGN Email-Mime-Header = {&HTML-Mime}.
--- In vantage@yahoogroups.com, "Todd Hofert" <todd@...> wrote:
>
> Does anyone have a Version 8.03 BAM that sends an e-mail alert and
uses
> data such as job number or part number from the database in the
subject
> and body of the e-mail? I have a couple of examples of V6.1 BAM's
that
> do this but when I use them on V8, they do not work. I have been
> fiddling around with format and syntax, but not knowing the
language has
> me at a bit of a disadvantage. I would be most grateful if someone
could
> share an example of a BAM that does this in V8x.
>
>
>
> Thank You
>
> Todd Hofert
>
>
>
> This e-mail and any attachments may contain confidential and
privileged
> information. If you are not the intended recipient, please notify
the
> sender immediately by return e-mail, delete this e-mail and
destroy any
> copies. Any dissemination or use of this information by a person
other
> than the intended recipient is unauthorized and may be illegal.
>
> [Non-text portions of this message have been removed]
>