Gossamer Forum
Home : Products : DBMan : Discussions :

Re: Removing Field name from e-mail

Quote Reply
Re: Removing Field name from e-mail In reply to
You could do something up like the following:

open (MAIL, "$mailprog") or &cgierr("unable to open mail program");
print MAIL "$rec{'field1'}|$rec{'filed2'}|$rec{'field3'}";
close (MAIL);

I have mine set up to only send me certain fields so it's set like the following:

print MAIL "Action Taken: $rec{'Action Taken'}\n";
print MAIL "Equipment Status: $rec{'System Status'}\n";
print MAIL "Trouble Status: $rec{'Trouble Status'}\n";
print MAIL "Reported By: $rec{'Reported By'}\n";

But I'm sure the other will work just fine for you (IF that's what you're looking for)

Conor Treacy
-----
www.HandsonWebDesign.com
Subject Author Views Date
Thread Removing Field name from e-mail bjblackmore 2055 Oct 16, 2000, 4:29 AM
Post Re: Removing Field name from e-mail
Leprechaun 1957 Oct 18, 2000, 11:52 AM