Has absolutely nothing to do with DBI. Please do not send off topic emails to this list. Refer them to another list where this subject would be on topic.
Ilya -----Original Message----- From: Shao, Chunning To: [EMAIL PROTECTED] Sent: 2/13/02 9:00 AM Subject: Help: Email problem with perl When we need to send result through email, we use sub-function like this: sub trap_die { my @param = @_; $message = $param[0]; $CommandString = "/bin/mailx -s \"$message\" cshao\@traffic.com </dev/null"; system ( $CommandString ); } trap_die ("$instance[$i].$owner.$table is chained\n"); But the message is only in the title, if it is long message, I can only get part of it. how should I change the the trap_die function so that the message will appear in the body, so that I can send more result? Thanks