On 12 Nov 2005, at 14:30, Anilkumar wrote:

I am writing a function at data_post stage
i want to know the size of mail including all the
attachment

This may be a useful command for you to learn:

  $ perldoc lib/Qpsmtpd/Transaction.pm

(run it in the qpsmtpd directory)

The answer is you want $transaction->body_size()

also one small issue
i want to remove enter charachter from string

chomp($string);

Reply via email to