I have been playing with the Email function and have it working except for one minor problem, when the email arrives all the information is on the same line.
EG. User=admin..Record_ID=1979
What I want to see is each field on a different line, I have tried \n after each field to no avail..
User=admin..
Record_ID=1979..
All the rest is ok, I have attached a copy of the line which sends a email when ever a new record is added successfully.
system("echo User=$rec{'userid'}..Record_ID=$rec{'Count'} | c:\\mksnt\\smtpmail -f home -s New.Record.Added.to.database colin.a.wilcox\@home.com") ;
Anyone have any idea that could help me here.....
Thanks..

