Login   Register  
PHP Classes
elePHPant
Icontem

email_message class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      MIME E-mail message sending  >  All threads  >  email_message class  >  (Un) Subscribe thread alerts  
Subject:email_message class
Summary:Attachment Size Limits for email_message class?
Messages:3
Author:Paul Graham
Date:2012-07-30 17:23:09
Update:2012-07-30 21:36:08
 

  1. email_message class   Reply   Report abuse  
Picture of Paul Graham
Paul Graham
2012-07-30 17:23:09
Hello,
Are there any attachment size limits with the email_message class?
My ISP says the server allows up to 10 mb of attachments but I can not send 2 4 mb attachments?

I am using
require("email_message.php");
require("smtp.php")

Other than that everything works fine.

Thanks

  2. Re: email_message class   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2012-07-30 21:15:52 - In reply to message 1 from Paul Graham
It depends on the memory limits of your PHP configuration as currently the class composes the message in memory before sending. Take a look at the output of phpinfo() to know the current memory limit.

  3. Re: email_message class   Reply   Report abuse  
Picture of Paul Graham
Paul Graham
2012-07-30 21:36:08 - In reply to message 2 from Manuel Lemos
My max_upload and max_post sizes in php.ini are 20M

The memory_limit 32M

This sounds like more than enough?