large attachment cannot be sent using codeigniter |
Hi guys,
I'm implementing a program of sending email using Codeigniter Email class and gmail smtp. I find it works when the attachment is small (e.g., less than 1MB) but if it's large (e.g., 5MB) then the attachment cannot be sent with the email, though the email itself can be sent without any errors. I checked my host (I'm using Ipage by the way), the attachment is successfully uploaded to the host, so it's not a problem of uploading. I also checked the php.ini on Ipage host, here are relevant parameters, they all seem to be OK: memory_limit = 256M max_execution_time = 120 upload_max_filesize = 8M post_max_size = 20M I tried using localhost it didn't work with large attachments either. Could anybody tell me what the problem could be? Thank you very much! There isn't anything special about the code, but i attach the code below just in case someone wants to see. PHP Code: $config['mailtype'] = 'html'; |
Messages In This Thread |
large attachment cannot be sent using codeigniter - by squashking - 02-24-2018, 12:58 AM
RE: large attachment cannot be sent using codeigniter - by InsiteFX - 02-24-2018, 05:11 AM
RE: large attachment cannot be sent using codeigniter - by squashking - 02-25-2018, 04:10 AM
RE: large attachment cannot be sent using codeigniter - by squashking - 02-26-2018, 04:28 AM
RE: large attachment cannot be sent using codeigniter - by InsiteFX - 02-26-2018, 05:57 AM
|