PHP Classes

If attachment = UNKNOWN.

Recommend this page to a friend!

      Receive Mail  >  All threads  >  If attachment = UNKNOWN.  >  (Un) Subscribe thread alerts  
Subject:If attachment = UNKNOWN.
Summary:Had problem with attachment name was always UNKNOWN.
Messages:2
Author:Andreas
Date:2016-09-01 09:37:01
 

  1. If attachment = UNKNOWN.   Reply   Report abuse  
Picture of Andreas Andreas - 2016-09-01 09:37:01
Had problem with attachment name was always UNKNOWN.
Added strtolower to these rows in .class file. and FILENAME->filename

Maybe only problem for me. But now it works, love this class!

if(strtolower($struct->parts[$key]->parts[$keyb]->dparameters[$i]->attribute) == 'filename')
if(strtolower($struct->parts[$key]->dparameters[$i]->attribute) == 'filename')

  2. Re: If attachment = UNKNOWN.   Reply   Report abuse  
Picture of Krystian Krystian - 2016-10-26 12:53:56 - In reply to message 1 from Andreas
thank you, I had the same problem.