Encountering attachment size limit using class htmlMimeMail




Basically, I am encountering a 6 MB limit when trying to attach
multiple files totaling over 6MB. In this case script processing seems
to stop cold. I can attach any number of files totalling under 6MB and
the email goes through just fine.

==================code excerpt================
$i=0;
foreach ($upid as $up_id){
$i++;
..............
$attachment.$i = $mail->getFile($uploaddir.
$filename);
$mail->addAttachment($attachment.$i,$filename,
$mime_type);
}
==================================================
Really appreciate any help you could give concerning this.

PHP memory limit is 40MB apparently so that does not not seem to be
the problem.
.