I have a problem with imap_fetchstructure , Microsoft SMTP Server (?) And signed emails using the / pkcs 7-signature application. Usually, when I send a signed letter to the gmail server, I have no problem. But when I post this to Microsoft Exchange, I have this structure from IMAP:
stdClass Object ( [type] => 1 [encoding] => 0 [ifsubtype] => 1 [subtype] => SIGNED [ifdescription] => 0 [ifid] => 0 [bytes] => -1 [ifdisposition] => 0 [ifdparameters] => 0 [ifparameters] => 1 [parameters] => Array ( [0] => stdClass Object ( [attribute] => protocol [value] => application/pkcs7-signature ) [1] => stdClass Object ( [attribute] => micalg [value] => sha1 ) [2] => stdClass Object ( [attribute] => boundary [value] => ----34EFCEA0D98F83964735A9A256302F5D ) ) [parts] => Array ( ) )
As you can see, I have no parts , and my question is why I did not get this element of the IMAP structure?
Also, when I type imap_body , I can see what is in the email.
I donβt have access to the Microsoft server, does anyone have something like this?
source share